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.245/2.245, allocations: 253.2 MB / 260.6 MB, free: 7.473 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.00147/0.00147, allocations: 181 kB / 319.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001508/0.001508, allocations: 88.77 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.782e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2055, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.043/7.249, allocations: 2.201 GB / 3.089 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/7.249, allocations: 111.2 kB / 3.089 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.274/8.523, allocations: 183.2 MB / 3.268 GB, free: 239 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/8.523, allocations: 1.375 kB / 3.268 GB, free: 239 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005884/8.524, allocations: 55.02 kB / 3.268 GB, free: 239 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.01352/8.537, allocations: 3.264 MB / 3.272 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/8.537, allocations: 10.22 kB / 3.272 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05393/8.591, allocations: 3.566 MB / 3.275 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01724/8.609, allocations: 5.045 MB / 3.28 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/8.61, allocations: 306.5 kB / 3.28 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/8.611, allocations: 66.31 kB / 3.28 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0182/8.629, allocations: 7.151 MB / 3.287 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/8.643, allocations: 5.073 MB / 3.292 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/8.643, allocations: 3.875 kB / 3.292 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009584/8.644, allocations: 10.97 kB / 3.292 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/8.644, allocations: 23.58 kB / 3.292 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06074/8.705, allocations: 17.08 MB / 3.309 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02341/8.728, allocations: 7.139 MB / 3.316 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006477/8.735, allocations: 3.181 MB / 3.319 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007126/8.736, allocations: 0.5891 MB / 3.32 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009998/8.746, allocations: 4.599 MB / 3.324 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 6.031e-06/8.746, allocations: 3.375 kB / 3.324 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.05862/8.804, allocations: 8.377 MB / 3.332 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/8.805, allocations: 116.4 kB / 3.332 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01776/8.822, allocations: 6.974 MB / 3.339 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001838/8.824, allocations: 65.44 kB / 3.339 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003611/8.828, allocations: 1.638 MB / 3.341 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/8.83, allocations: 409.1 kB / 3.341 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008739/8.831, allocations: 3.969 kB / 3.341 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002022/8.831, allocations: 364.1 kB / 3.342 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008522/8.839, allocations: 4.146 MB / 3.346 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008355/8.848, allocations: 4.19 MB / 3.35 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05623/8.904, allocations: 13.3 MB / 3.363 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/8.904, allocations: 1.219 kB / 3.363 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.1043/9.008, allocations: 19.77 MB / 3.382 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004175/9.009, allocations: 474.4 kB / 3.383 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/9.009, allocations: 6.766 kB / 3.383 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007485/9.016, allocations: 1.029 MB / 3.384 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01164/9.028, allocations: 0.8528 MB / 3.384 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/9.039, allocations: 5.126 MB / 3.389 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/9.052, allocations: 0.6452 MB / 3.39 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/9.054, allocations: 266.2 kB / 3.39 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/9.054, allocations: 4 kB / 3.39 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1028/9.157, allocations: 19.33 MB / 3.409 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/9.157, allocations: 64 / 3.409 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005732/9.162, allocations: 0.947 MB / 3.41 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/9.174, allocations: 0.8596 MB / 3.411 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/9.188, allocations: 8.674 MB / 3.419 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/9.201, allocations: 0.6384 MB / 3.42 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/9.203, allocations: 256.7 kB / 3.42 GB, free: 168.6 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: dxCoo.dryWet.XADP:VARIABLE(min = 0.0 max = 1.0 ) "Mass fraction at ADP" type: Real 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.002469/9.205, allocations: 215.6 kB / 3.42 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002898/9.208, allocations: 417.5 kB / 3.421 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05775/9.266, allocations: 8.726 MB / 3.429 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/9.266, allocations: 15.98 kB / 3.429 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/9.266, allocations: 3.844 kB / 3.429 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.368e-05/9.266, allocations: 3.984 kB / 3.429 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06834/9.334, allocations: 15.53 MB / 3.445 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/9.334, allocations: 0 / 3.445 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0109/9.345, allocations: 0.8143 MB / 3.445 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/9.347, allocations: 232.6 kB / 3.446 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001336/9.348, allocations: 111.8 kB / 3.446 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/9.351, allocations: 2.143 MB / 3.448 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/9.351, allocations: 4.156 kB / 3.448 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05451/9.406, allocations: 8.19 MB / 3.456 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007278/9.413, allocations: 2.043 MB / 3.458 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002924/9.416, allocations: 115.9 kB / 3.458 GB, free: 130 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01341/9.43, allocations: 0.6632 MB / 3.459 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008751/9.431, allocations: 145.1 kB / 3.459 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001121/9.432, allocations: 247.8 kB / 3.459 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01293/9.445, allocations: 5.262 MB / 3.464 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.31e-07/9.445, allocations: 0 / 3.464 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01288/9.458, allocations: 1.64 MB / 3.466 GB, free: 122 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.004288/9.462, allocations: 1.322 MB / 3.467 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03974/9.502, allocations: 14.58 MB / 3.481 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/9.502, allocations: 4 kB / 3.481 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008332/9.51, allocations: 3.607 MB / 3.485 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008758/9.519, allocations: 1.069 MB / 3.486 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.034/9.553, allocations: 10.17 MB / 3.496 GB, free: 91.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005001/9.558, allocations: 3.226 MB / 3.499 GB, free: 88.16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02643/9.585, allocations: 5.158 MB / 3.504 GB, free: 83.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003621/9.588, allocations: 323.1 kB / 3.504 GB, free: 82.79 MB / 0.8698 GB Notification: Performance of SimCode: time 1.573e-06/9.588, allocations: 0 / 3.504 GB, free: 82.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.8434/10.43, allocations: 96.87 MB / 3.599 GB, free: 210.9 MB / 0.8698 GB