Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.303/2.303, allocations: 252.6 MB / 265.2 MB, free: 5.629 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 185.6 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.5754 GB, free: 10.46 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 86.69 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.158e-05, allocations: 11.98 kB / 0.7912 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2154, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.145/7.36, allocations: 2.2 GB / 3.095 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/7.361, allocations: 112.4 kB / 3.095 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.299/8.66, allocations: 200.5 MB / 3.291 GB, free: 250 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.364e-06/8.66, allocations: 0 / 3.291 GB, free: 250 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005397/8.66, allocations: 56.8 kB / 3.291 GB, free: 250 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.01118/8.672, allocations: 3.262 MB / 3.294 GB, free: 248 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/8.672, allocations: 10.47 kB / 3.294 GB, free: 248 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05159/8.723, allocations: 3.568 MB / 3.298 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/8.743, allocations: 5.041 MB / 3.303 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001643/8.744, allocations: 349 kB / 3.303 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00201/8.747, allocations: 95.09 kB / 3.303 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/8.76, allocations: 5.196 MB / 3.308 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/8.76, allocations: 0 / 3.308 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008134/8.761, allocations: 40.91 kB / 3.308 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/8.761, allocations: 30.3 kB / 3.308 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/8.779, allocations: 7.197 MB / 3.315 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05959/8.838, allocations: 17.27 MB / 3.332 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02538/8.864, allocations: 7.189 MB / 3.339 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006797/8.871, allocations: 3.213 MB / 3.342 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007589/8.871, allocations: 0.5936 MB / 3.343 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01006/8.882, allocations: 4.644 MB / 3.348 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 5.921e-06/8.882, allocations: 0 / 3.348 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.05083/8.932, allocations: 7.754 MB / 3.355 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/8.933, allocations: 122 kB / 3.355 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01966/8.952, allocations: 7.219 MB / 3.362 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001736/8.954, allocations: 89.69 kB / 3.362 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003827/8.958, allocations: 1.667 MB / 3.364 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001573/8.96, allocations: 421.2 kB / 3.364 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007653/8.96, allocations: 28 kB / 3.364 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001976/8.961, allocations: 361.9 kB / 3.365 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008621/8.969, allocations: 4.166 MB / 3.369 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008606/8.978, allocations: 4.211 MB / 3.373 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007547/8.986, allocations: 3.38 MB / 3.376 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/8.986, allocations: 0 / 3.376 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.05585/9.041, allocations: 9.91 MB / 3.386 GB, free: 177 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00036/9.042, allocations: 479.8 kB / 3.386 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/9.042, allocations: 0 / 3.386 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00755/9.049, allocations: 1.074 MB / 3.387 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/9.061, allocations: 0.8588 MB / 3.388 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/9.071, allocations: 5.125 MB / 3.393 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/9.084, allocations: 0.6625 MB / 3.394 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/9.086, allocations: 263.8 kB / 3.394 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/9.086, allocations: 4 kB / 3.394 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05449/9.141, allocations: 9.588 MB / 3.404 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/9.141, allocations: 7.953 kB / 3.404 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005897/9.147, allocations: 0.9476 MB / 3.405 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/9.158, allocations: 0.8541 MB / 3.405 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/9.172, allocations: 8.953 MB / 3.414 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/9.184, allocations: 0.6548 MB / 3.415 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/9.186, allocations: 275.7 kB / 3.415 GB, free: 146.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 58 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition17,dxCoo.wetCoi.cooCap.stage,$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],dxCoo.wetCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.shr.on,dxCoo.dryCoi.cooCap.stage,$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],dxCoo.dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 3 * 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.001976/9.188, allocations: 254.5 kB / 3.415 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/9.19, allocations: 414.8 kB / 3.416 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05274/9.243, allocations: 8.417 MB / 3.424 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/9.243, allocations: 12 kB / 3.424 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/9.243, allocations: 0 / 3.424 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.06e-05/9.243, allocations: 7.969 kB / 3.424 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0667/9.31, allocations: 15.34 MB / 3.439 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/9.31, allocations: 4 kB / 3.439 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01237/9.322, allocations: 0.8075 MB / 3.44 GB, free: 121 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/9.324, allocations: 241.4 kB / 3.44 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/9.325, allocations: 119.8 kB / 3.44 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003272/9.328, allocations: 2.194 MB / 3.442 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/9.328, allocations: 144 / 3.442 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04953/9.378, allocations: 7.87 MB / 3.45 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006878/9.385, allocations: 2.046 MB / 3.452 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002687/9.388, allocations: 135.9 kB / 3.452 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01383/9.402, allocations: 0.6749 MB / 3.453 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008863/9.402, allocations: 145.1 kB / 3.453 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001099/9.404, allocations: 247.8 kB / 3.453 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01564/9.419, allocations: 5.505 MB / 3.458 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.363e-06/9.419, allocations: 0 / 3.458 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01253/9.432, allocations: 1.714 MB / 3.46 GB, free: 99.85 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition17,dxCoo.wetCoi.cooCap.stage,dxCoo.wetCoi.cooCap.checkBoundsTEva[1],dxCoo.wetCoi.cooCap.checkBoundsTEva[2],dxCoo.wetCoi.cooCap.checkBoundsTEva[3],dxCoo.wetCoi.cooCap.checkBoundsTEva[4],dxCoo.wetCoi.cooCap.checkBoundsTCon[1],dxCoo.wetCoi.cooCap.checkBoundsTCon[2],dxCoo.wetCoi.cooCap.checkBoundsTCon[3],dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.shr.on,dxCoo.dryCoi.cooCap.stage,dxCoo.dryCoi.cooCap.checkBoundsTEva[1],dxCoo.dryCoi.cooCap.checkBoundsTEva[2],dxCoo.dryCoi.cooCap.checkBoundsTEva[3],dxCoo.dryCoi.cooCap.checkBoundsTEva[4],dxCoo.dryCoi.cooCap.checkBoundsTCon[1],dxCoo.dryCoi.cooCap.checkBoundsTCon[2],dxCoo.dryCoi.cooCap.checkBoundsTCon[3],dxCoo.dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 12 (dxCoo.dryCoi.cooCap.stage,dxCoo.dryCoi.cooCap.checkBoundsTEva[dxCoo.dryCoi.cooCap.stage],dxCoo.dryCoi.cooCap.checkBoundsTCon[dxCoo.dryCoi.cooCap.stage],dxCoo.wetCoi.cooCap.stage,dxCoo.wetCoi.cooCap.checkBoundsTEva[dxCoo.wetCoi.cooCap.stage],dxCoo.wetCoi.cooCap.checkBoundsTCon[dxCoo.wetCoi.cooCap.stage],speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition17) * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 16 * 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.004136/9.436, allocations: 1.234 MB / 3.461 GB, free: 98.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.04076/9.477, allocations: 14.7 MB / 3.476 GB, free: 83.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/9.477, allocations: 4 kB / 3.476 GB, free: 83.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008702/9.486, allocations: 3.66 MB / 3.479 GB, free: 80.16 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008388/9.494, allocations: 1.085 MB / 3.48 GB, free: 79.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03303/9.527, allocations: 10.25 MB / 3.49 GB, free: 68.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004545/9.532, allocations: 3.227 MB / 3.493 GB, free: 65.54 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02666/9.558, allocations: 5.18 MB / 3.498 GB, free: 60.35 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003469/9.562, allocations: 323.1 kB / 3.499 GB, free: 60.04 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/9.562, allocations: 0 / 3.499 GB, free: 60.04 MB / 0.8698 GB Notification: Performance of Templates: time 1.009/10.57, allocations: 120.3 MB / 3.616 GB, free: 228.8 MB / 0.8698 GB