Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.694/1.694, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 183.6 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009136, allocations: 100.7 kB / 0.7808 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 18.88 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6885, allocations: 120.3 MB / 1.026 GB, free: 57.16 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9079/1.596, allocations: 444.9 MB / 1.461 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.597, allocations: 103.6 kB / 1.461 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.737/5.333, allocations: 1.178 GB / 2.639 GB, free: 139 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.424e-06/5.333, allocations: 0 / 2.639 GB, free: 139 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003446/5.334, allocations: 60.42 kB / 2.639 GB, free: 139 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00677/5.341, allocations: 2.492 MB / 2.642 GB, free: 137.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/5.341, allocations: 14.16 kB / 2.642 GB, free: 137.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/5.343, allocations: 451.7 kB / 2.642 GB, free: 137.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/5.349, allocations: 2.245 MB / 2.645 GB, free: 136.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/5.349, allocations: 93.64 kB / 2.645 GB, free: 136.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003144/5.349, allocations: 124.5 kB / 2.645 GB, free: 136.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/5.352, allocations: 1.294 MB / 2.646 GB, free: 135.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/5.352, allocations: 5.688 kB / 2.646 GB, free: 135.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/5.352, allocations: 46.41 kB / 2.646 GB, free: 135.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/5.352, allocations: 46.84 kB / 2.646 GB, free: 135.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/5.354, allocations: 0.9649 MB / 2.647 GB, free: 135.3 MB / 0.9948 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.008393/5.363, allocations: 6.887 MB / 2.654 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/5.364, allocations: 1.266 MB / 2.655 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007121/5.365, allocations: 385 kB / 2.655 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004491/5.37, allocations: 2.993 MB / 2.658 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007242/5.37, allocations: 411.8 kB / 2.659 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006109/5.371, allocations: 79.5 kB / 2.659 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=62): time 3.898e-06/5.371, allocations: 0 / 2.659 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=62): time 0.002517/5.374, allocations: 1.219 MB / 2.66 GB, free: 126 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/5.374, allocations: 107.3 kB / 2.66 GB, free: 125.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/5.376, allocations: 1.481 MB / 2.661 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/5.376, allocations: 37.39 kB / 2.662 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/5.377, allocations: 0.8775 MB / 2.662 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/5.377, allocations: 223.9 kB / 2.663 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/5.377, allocations: 19.75 kB / 2.663 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/5.377, allocations: 350.7 kB / 2.663 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006438/5.377, allocations: 311.6 kB / 2.663 GB, free: 124 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/5.378, allocations: 0.7326 MB / 2.664 GB, free: 123.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/5.38, allocations: 1.023 MB / 2.665 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/5.38, allocations: 3.625 kB / 2.665 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002134/5.382, allocations: 1.182 MB / 2.666 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002159/5.382, allocations: 441.9 kB / 2.667 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/5.382, allocations: 11.56 kB / 2.667 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/5.382, allocations: 15.25 kB / 2.667 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008321/5.383, allocations: 247.6 kB / 2.667 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/5.383, allocations: 30.52 kB / 2.667 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/5.384, allocations: 115 kB / 2.667 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/5.384, allocations: 58.36 kB / 2.667 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/5.384, allocations: 6.406 kB / 2.667 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001766/5.386, allocations: 1.011 MB / 2.668 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/5.386, allocations: 8.188 kB / 2.668 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/5.386, allocations: 19.16 kB / 2.668 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/5.387, allocations: 241.8 kB / 2.668 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/5.387, allocations: 28.77 kB / 2.668 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/5.388, allocations: 113.7 kB / 2.668 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/5.388, allocations: 54.2 kB / 2.668 GB, free: 121.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0007895/5.389, allocations: 488.8 kB / 2.669 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/5.389, allocations: 165.1 kB / 2.669 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/5.391, allocations: 1.131 MB / 2.67 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/5.392, allocations: 12.41 kB / 2.67 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/5.392, allocations: 0 / 2.67 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/5.393, allocations: 0.9796 MB / 2.671 GB, free: 119.7 MB / 0.9948 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.003947/5.397, allocations: 2.37 MB / 2.673 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/5.397, allocations: 0 / 2.673 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/5.398, allocations: 138.1 kB / 2.674 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/5.398, allocations: 29.41 kB / 2.674 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/5.398, allocations: 25.95 kB / 2.674 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007696/5.399, allocations: 1.289 MB / 2.675 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/5.399, allocations: 0 / 2.675 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/5.401, allocations: 1.526 MB / 2.676 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007024/5.402, allocations: 334.1 kB / 2.677 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/5.402, allocations: 18.55 kB / 2.677 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009711/5.403, allocations: 108.9 kB / 2.677 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/5.403, allocations: 50.75 kB / 2.677 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/5.403, allocations: 31.53 kB / 2.677 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001554/5.405, allocations: 1.048 MB / 2.678 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.71e-07/5.405, allocations: 3.219 kB / 2.678 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003209/5.408, allocations: 0.9549 MB / 2.679 GB, free: 115.5 MB / 0.9948 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.s[1],mov.filter.s[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 (71): * Single equations (assignments): 62 * 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.002365/5.41, allocations: 1.284 MB / 2.68 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002573/5.413, allocations: 1.455 MB / 2.682 GB, free: 114.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/5.413, allocations: 2.938 kB / 2.682 GB, free: 114.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008791/5.414, allocations: 0.5083 MB / 2.682 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/5.417, allocations: 0.7324 MB / 2.683 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/5.422, allocations: 3.632 MB / 2.686 GB, free: 112.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009407/5.423, allocations: 1.35 MB / 2.688 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001918/5.425, allocations: 439.3 kB / 2.688 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/5.425, allocations: 132.3 kB / 2.688 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of SimCode: time 1.072e-06/5.425, allocations: 0 / 2.688 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of Templates: time 0.05118/5.477, allocations: 34.69 MB / 2.722 GB, free: 100.2 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)