Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.6 MB / 307.5 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 177.1 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 0.6367 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008486/0.0008486, allocations: 97.77 kB / 0.751 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2677, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.468/1.736, allocations: 455.5 MB / 1.433 GB, free: 266.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.736, allocations: 99.33 kB / 1.433 GB, free: 266.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.929/5.666, allocations: 1.171 GB / 2.604 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.724e-06/5.666, allocations: 0 / 2.604 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002661/5.666, allocations: 60.06 kB / 2.604 GB, free: 125.2 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007365/5.673, allocations: 2.564 MB / 2.607 GB, free: 124 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/5.673, allocations: 7.875 kB / 2.607 GB, free: 124 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/5.676, allocations: 464.5 kB / 2.607 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/5.683, allocations: 2.317 MB / 2.61 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/5.683, allocations: 93.83 kB / 2.61 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/5.683, allocations: 124.9 kB / 2.61 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/5.685, allocations: 1.322 MB / 2.611 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/5.685, allocations: 5.719 kB / 2.611 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/5.686, allocations: 47.19 kB / 2.611 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/5.686, allocations: 26.66 kB / 2.611 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/5.688, allocations: 0.9625 MB / 2.612 GB, free: 123.1 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008572/5.696, allocations: 6.892 MB / 2.619 GB, free: 119 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/5.698, allocations: 1.268 MB / 2.62 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004469/5.703, allocations: 2.884 MB / 2.623 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008678/5.703, allocations: 415.9 kB / 2.623 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007215/5.704, allocations: 91.56 kB / 2.623 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=61): time 3.827e-06/5.704, allocations: 2.156 kB / 2.623 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=61): time 0.0025/5.707, allocations: 1.126 MB / 2.625 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/5.707, allocations: 163.3 kB / 2.625 GB, free: 116 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/5.709, allocations: 1.359 MB / 2.626 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.045e-05/5.709, allocations: 46.42 kB / 2.626 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006978/5.71, allocations: 0.8849 MB / 2.627 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/5.71, allocations: 217.9 kB / 2.627 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/5.71, allocations: 23.83 kB / 2.627 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/5.71, allocations: 340.1 kB / 2.627 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/5.711, allocations: 329.6 kB / 2.628 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008983/5.712, allocations: 0.7664 MB / 2.629 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009063/5.712, allocations: 456.8 kB / 2.629 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/5.712, allocations: 3.688 kB / 2.629 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002627/5.715, allocations: 1.221 MB / 2.63 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001354/5.716, allocations: 4.55 MB / 2.635 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/5.716, allocations: 14 kB / 2.635 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.863e-05/5.717, allocations: 19.52 kB / 2.635 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009877/5.718, allocations: 250.6 kB / 2.635 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.62e-05/5.718, allocations: 21.95 kB / 2.635 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/5.72, allocations: 126.7 kB / 2.635 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/5.72, allocations: 59.05 kB / 2.635 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/5.72, allocations: 3.938 kB / 2.635 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002362/5.722, allocations: 1.052 MB / 2.636 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/5.722, allocations: 14.78 kB / 2.636 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/5.722, allocations: 15.34 kB / 2.636 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/5.723, allocations: 245 kB / 2.636 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/5.723, allocations: 23.64 kB / 2.636 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/5.725, allocations: 111.7 kB / 2.636 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/5.725, allocations: 52.89 kB / 2.637 GB, free: 109.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001557/5.727, allocations: 498.6 kB / 2.637 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006169/5.727, allocations: 166.6 kB / 2.637 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/5.73, allocations: 1.059 MB / 2.638 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/5.73, allocations: 10.14 kB / 2.638 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/5.73, allocations: 0 / 2.638 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/5.732, allocations: 0.9034 MB / 2.639 GB, free: 108.8 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00434/5.736, allocations: 2.274 MB / 2.641 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/5.736, allocations: 2.875 kB / 2.641 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/5.737, allocations: 138 kB / 2.641 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/5.737, allocations: 27.16 kB / 2.641 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/5.737, allocations: 19.91 kB / 2.641 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000882/5.738, allocations: 1.307 MB / 2.643 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.738, allocations: 3.781 kB / 2.643 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/5.741, allocations: 1.477 MB / 2.644 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008616/5.741, allocations: 354.5 kB / 2.645 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/5.742, allocations: 14.34 kB / 2.645 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/5.743, allocations: 108.3 kB / 2.645 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/5.743, allocations: 48.05 kB / 2.645 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/5.743, allocations: 34.53 kB / 2.645 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001636/5.744, allocations: 1.102 MB / 2.646 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/5.744, allocations: 0 / 2.646 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003981/5.748, allocations: 1.028 MB / 2.647 GB, free: 106.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003044/5.752, allocations: 1.356 MB / 2.648 GB, free: 106 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003126/5.755, allocations: 1.55 MB / 2.65 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/5.755, allocations: 3.844 kB / 2.65 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009675/5.756, allocations: 0.5035 MB / 2.65 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/5.759, allocations: 0.7343 MB / 2.651 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/5.765, allocations: 3.698 MB / 2.654 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/5.765, allocations: 1.404 MB / 2.656 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002043/5.768, allocations: 442.9 kB / 2.656 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/5.768, allocations: 139.2 kB / 2.656 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.673e-06/5.768, allocations: 0 / 2.656 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.05863/5.827, allocations: 36.06 MB / 2.692 GB, free: 101 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)