Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.915/1.915, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001507/0.001506, allocations: 192.8 kB / 377.1 MB, free: 1.516 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.735/1.735, allocations: 205.4 MB / 0.6367 GB, free: 8.527 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.0009404/0.0009404, allocations: 99.16 kB / 0.751 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003399, allocations: 8 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 116.3 MB / 0.9884 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.376/5.644, allocations: 2.082 GB / 3.07 GB, free: 138.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/5.645, allocations: 112.5 kB / 3.07 GB, free: 138 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9084/6.553, allocations: 159.5 MB / 3.226 GB, free: 226.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/6.553, allocations: 0 / 3.226 GB, free: 226.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000155/6.554, allocations: 35.06 kB / 3.226 GB, free: 226.5 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.008964/6.562, allocations: 3.065 MB / 3.229 GB, free: 225.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/6.563, allocations: 8.781 kB / 3.229 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02285/6.585, allocations: 2.931 MB / 3.232 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007398/6.593, allocations: 2.873 MB / 3.235 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/6.593, allocations: 203.2 kB / 3.235 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/6.594, allocations: 59.94 kB / 3.235 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009437/6.603, allocations: 3.569 MB / 3.238 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/6.603, allocations: 3.875 kB / 3.238 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/6.603, allocations: 21.19 kB / 3.239 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/6.603, allocations: 9.594 kB / 3.239 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/6.619, allocations: 5.438 MB / 3.244 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02668/6.646, allocations: 8.812 MB / 3.252 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02172/6.668, allocations: 5.789 MB / 3.258 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/6.668, allocations: 21.94 kB / 3.258 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009969/6.678, allocations: 3.287 MB / 3.261 GB, free: 223.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 6.101e-06/6.678, allocations: 4.75 kB / 3.261 GB, free: 223.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.05036/6.729, allocations: 9.664 MB / 3.271 GB, free: 222.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/6.729, allocations: 96.61 kB / 3.271 GB, free: 222.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/6.74, allocations: 4.19 MB / 3.275 GB, free: 222.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001132/6.741, allocations: 68.25 kB / 3.275 GB, free: 222.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/6.743, allocations: 1.009 MB / 3.276 GB, free: 221.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009292/6.744, allocations: 233.4 kB / 3.276 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/6.744, allocations: 18.5 kB / 3.276 GB, free: 221.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001729/6.744, allocations: 344.8 kB / 3.277 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008648/6.753, allocations: 3.072 MB / 3.28 GB, free: 219.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00872/6.762, allocations: 3.108 MB / 3.283 GB, free: 218.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008398/6.77, allocations: 2.642 MB / 3.285 GB, free: 218.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/6.77, allocations: 0 / 3.285 GB, free: 218.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04059/6.811, allocations: 7.807 MB / 3.293 GB, free: 215.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002941/6.811, allocations: 389 kB / 3.293 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/6.811, allocations: 3.656 kB / 3.293 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004755/6.816, allocations: 1.036 MB / 3.294 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005102/6.821, allocations: 0.6542 MB / 3.295 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005881/6.827, allocations: 4.909 MB / 3.3 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007552/6.835, allocations: 0.5795 MB / 3.3 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/6.836, allocations: 153.4 kB / 3.3 GB, free: 210.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/6.836, allocations: 3.5 kB / 3.3 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04423/6.88, allocations: 7.547 MB / 3.308 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/6.88, allocations: 0 / 3.308 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004903/6.885, allocations: 0.9222 MB / 3.309 GB, free: 208.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/6.891, allocations: 0.6547 MB / 3.309 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009741/6.901, allocations: 8.64 MB / 3.318 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006969/6.908, allocations: 0.5752 MB / 3.318 GB, free: 200.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/6.909, allocations: 154.5 kB / 3.318 GB, free: 200.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004166/6.913, allocations: 1.168 MB / 3.32 GB, free: 200.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001917/6.915, allocations: 255.4 kB / 3.32 GB, free: 200.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03927/6.954, allocations: 6.871 MB / 3.326 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/6.955, allocations: 7.594 kB / 3.326 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/6.955, allocations: 1.125 kB / 3.326 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.979e-05/6.955, allocations: 6.703 kB / 3.327 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008736/6.963, allocations: 3.592 MB / 3.33 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/6.963, allocations: 0 / 3.33 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004391/6.968, allocations: 0.6113 MB / 3.331 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/6.969, allocations: 256.6 kB / 3.331 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006363/6.97, allocations: 71.84 kB / 3.331 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/6.972, allocations: 2.208 MB / 3.333 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/6.972, allocations: 0 / 3.333 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03592/7.008, allocations: 6.51 MB / 3.339 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00406/7.012, allocations: 1.119 MB / 3.341 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/7.014, allocations: 68.5 kB / 3.341 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005934/7.02, allocations: 0.5486 MB / 3.341 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000469/7.021, allocations: 84.86 kB / 3.341 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007092/7.021, allocations: 138.4 kB / 3.341 GB, free: 192.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007383/7.029, allocations: 3.21 MB / 3.344 GB, free: 191 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.072e-06/7.029, allocations: 4 kB / 3.344 GB, free: 191 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007733/7.037, allocations: 1.145 MB / 3.346 GB, free: 190.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003348/7.04, allocations: 1.156 MB / 3.347 GB, free: 190.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03082/7.071, allocations: 10.74 MB / 3.357 GB, free: 186.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/7.071, allocations: 4 kB / 3.357 GB, free: 186.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009379/7.08, allocations: 2.904 MB / 3.36 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/7.085, allocations: 0.629 MB / 3.361 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/7.109, allocations: 7.948 MB / 3.368 GB, free: 182.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/7.112, allocations: 2.14 MB / 3.371 GB, free: 181.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006983/7.119, allocations: 1.422 MB / 3.372 GB, free: 181.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/7.12, allocations: 225.5 kB / 3.372 GB, free: 181.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/7.121, allocations: 0 / 3.372 GB, free: 181.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1078/7.228, allocations: 74.33 MB / 3.445 GB, free: 124 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)