Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.577/1.577, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001359/0.001359, allocations: 180.9 kB / 361.4 MB, free: 6.832 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.797/1.797, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008523/0.0008523, allocations: 92.3 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.863e-05, allocations: 8 kB / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7611, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.983, allocations: 447.3 MB / 1.401 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.983, allocations: 94.08 kB / 1.401 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.501/6.485, allocations: 1.128 GB / 2.529 GB, free: 147.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.374e-06/6.485, allocations: 0 / 2.529 GB, free: 147.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002358/6.485, allocations: 57.91 kB / 2.529 GB, free: 147.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.005188/6.49, allocations: 2.179 MB / 2.531 GB, free: 146.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/6.49, allocations: 7.094 kB / 2.531 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/6.492, allocations: 377.9 kB / 2.532 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005907/6.498, allocations: 2.468 MB / 2.534 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/6.498, allocations: 40.47 kB / 2.534 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/6.498, allocations: 78.72 kB / 2.534 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001694/6.5, allocations: 0.8597 MB / 2.535 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/6.502, allocations: 1.181 MB / 2.536 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/6.502, allocations: 9.938 kB / 2.536 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/6.502, allocations: 3.781 kB / 2.536 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/6.502, allocations: 34.16 kB / 2.536 GB, free: 143.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008649/6.511, allocations: 6.938 MB / 2.543 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/6.512, allocations: 1.185 MB / 2.544 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/6.512, allocations: 329.1 kB / 2.545 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002963/6.515, allocations: 2.237 MB / 2.547 GB, free: 133.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/6.516, allocations: 376.6 kB / 2.547 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005427/6.516, allocations: 65.38 kB / 2.547 GB, free: 133.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 4.128e-06/6.516, allocations: 0 / 2.547 GB, free: 133.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.001708/6.518, allocations: 0.8129 MB / 2.548 GB, free: 133.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/6.518, allocations: 168.5 kB / 2.548 GB, free: 133.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/6.519, allocations: 1.196 MB / 2.549 GB, free: 132.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/6.52, allocations: 29.14 kB / 2.549 GB, free: 132.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/6.52, allocations: 0.8868 MB / 2.55 GB, free: 131.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/6.52, allocations: 237.6 kB / 2.55 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/6.52, allocations: 0 / 2.55 GB, free: 131.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/6.52, allocations: 351.2 kB / 2.551 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/6.521, allocations: 285.6 kB / 2.551 GB, free: 131 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/6.521, allocations: 0.6478 MB / 2.552 GB, free: 130.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/6.522, allocations: 480.3 kB / 2.552 GB, free: 130.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/6.523, allocations: 0 / 2.552 GB, free: 130.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001982/6.524, allocations: 1.106 MB / 2.553 GB, free: 129.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006572/6.525, allocations: 3.73 MB / 2.557 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/6.525, allocations: 11.8 kB / 2.557 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/6.525, allocations: 18.12 kB / 2.557 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/6.526, allocations: 257.4 kB / 2.557 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/6.526, allocations: 20.14 kB / 2.557 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/6.527, allocations: 112.5 kB / 2.557 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/6.528, allocations: 50.95 kB / 2.557 GB, free: 125.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/6.528, allocations: 5.125 kB / 2.557 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001711/6.529, allocations: 0.8852 MB / 2.558 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/6.529, allocations: 12.62 kB / 2.558 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/6.529, allocations: 14.81 kB / 2.558 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/6.53, allocations: 249.3 kB / 2.558 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/6.53, allocations: 24.23 kB / 2.558 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/6.531, allocations: 106.4 kB / 2.559 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/6.532, allocations: 54.91 kB / 2.559 GB, free: 125 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * 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.0002211/6.532, allocations: 140 kB / 2.559 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/6.532, allocations: 166.1 kB / 2.559 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/6.534, allocations: 0.9902 MB / 2.56 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/6.534, allocations: 7.812 kB / 2.56 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/6.534, allocations: 0 / 2.56 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001124/6.535, allocations: 0.6983 MB / 2.561 GB, free: 123.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003536/6.539, allocations: 2.136 MB / 2.563 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/6.539, allocations: 0 / 2.563 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/6.539, allocations: 162 kB / 2.563 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001599/6.54, allocations: 27.53 kB / 2.563 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/6.54, allocations: 15.33 kB / 2.563 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006959/6.54, allocations: 1.27 MB / 2.564 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/6.54, allocations: 0 / 2.564 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/6.542, allocations: 1.393 MB / 2.565 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006543/6.543, allocations: 342.5 kB / 2.566 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/6.543, allocations: 11.84 kB / 2.566 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009039/6.544, allocations: 95.98 kB / 2.566 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/6.544, allocations: 59.03 kB / 2.566 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/6.544, allocations: 32.14 kB / 2.566 GB, free: 119.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001183/6.545, allocations: 0.901 MB / 2.567 GB, free: 119.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/6.545, allocations: 0 / 2.567 GB, free: 119.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003151/6.549, allocations: 1.087 MB / 2.568 GB, free: 119.1 MB / 0.948 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.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001961/6.551, allocations: 1.131 MB / 2.569 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001866/6.552, allocations: 1.426 MB / 2.57 GB, free: 118 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/6.553, allocations: 6.438 kB / 2.57 GB, free: 118 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006152/6.553, allocations: 474.8 kB / 2.571 GB, free: 117.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/6.557, allocations: 0.7383 MB / 2.572 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/6.56, allocations: 2.332 MB / 2.574 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/6.561, allocations: 1.451 MB / 2.575 GB, free: 114.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002307/6.563, allocations: 0.5566 MB / 2.576 GB, free: 114 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/6.564, allocations: 107.4 kB / 2.576 GB, free: 113.9 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/6.564, allocations: 0 / 2.576 GB, free: 113.9 MB / 0.948 GB Notification: Performance of Templates: time 0.04914/6.613, allocations: 35.66 MB / 2.611 GB, free: 79.04 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)