Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DXCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.462/2.462, allocations: 248.5 MB / 261.1 MB, free: 5.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 180.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.1 MB / 0.571 GB, free: 11.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00135/0.001349, allocations: 102.3 kB / 0.6754 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.537e-05/4.558e-05, allocations: 8 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 106.2 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.086/7.311, allocations: 2.2 GB / 3.091 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/7.312, allocations: 110.7 kB / 3.091 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.289/8.601, allocations: 200.5 MB / 3.287 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/8.601, allocations: 0 / 3.287 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006434/8.601, allocations: 51.97 kB / 3.287 GB, free: 250.3 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.01289/8.614, allocations: 3.276 MB / 3.29 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/8.614, allocations: 11.88 kB / 3.29 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/8.616, allocations: 143.4 kB / 3.29 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05217/8.668, allocations: 3.569 MB / 3.294 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/8.684, allocations: 5.042 MB / 3.299 GB, free: 246 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/8.685, allocations: 352.9 kB / 3.299 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/8.686, allocations: 93.62 kB / 3.299 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/8.699, allocations: 5.184 MB / 3.304 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.623e-05/8.699, allocations: 3.844 kB / 3.304 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008077/8.7, allocations: 47.3 kB / 3.304 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/8.7, allocations: 27.77 kB / 3.304 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/8.717, allocations: 7.199 MB / 3.311 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05919/8.777, allocations: 17.26 MB / 3.328 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02457/8.801, allocations: 7.195 MB / 3.335 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007313/8.809, allocations: 3.215 MB / 3.338 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006715/8.809, allocations: 0.5886 MB / 3.339 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01017/8.819, allocations: 4.643 MB / 3.344 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 6.071e-06/8.82, allocations: 0 / 3.344 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.05147/8.871, allocations: 7.769 MB / 3.351 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/8.871, allocations: 113.6 kB / 3.351 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01926/8.89, allocations: 7.222 MB / 3.358 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001807/8.892, allocations: 89.69 kB / 3.358 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003975/8.896, allocations: 1.659 MB / 3.36 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/8.898, allocations: 427.5 kB / 3.36 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007734/8.899, allocations: 32 kB / 3.36 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001842/8.899, allocations: 361.9 kB / 3.361 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008577/8.907, allocations: 4.166 MB / 3.365 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008828/8.916, allocations: 4.207 MB / 3.369 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007469/8.924, allocations: 3.38 MB / 3.372 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/8.924, allocations: 0 / 3.372 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.05542/8.979, allocations: 9.912 MB / 3.382 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003517/8.98, allocations: 475.8 kB / 3.382 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/8.98, allocations: 0 / 3.382 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007441/8.987, allocations: 1.073 MB / 3.383 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01109/8.998, allocations: 0.8513 MB / 3.384 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/9.009, allocations: 5.108 MB / 3.389 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/9.022, allocations: 0.6741 MB / 3.39 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/9.023, allocations: 259.8 kB / 3.39 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/9.023, allocations: 4 kB / 3.39 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05253/9.076, allocations: 9.599 MB / 3.4 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/9.076, allocations: 0 / 3.4 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005807/9.082, allocations: 0.9485 MB / 3.4 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/9.093, allocations: 0.8576 MB / 3.401 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/9.107, allocations: 8.962 MB / 3.41 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/9.12, allocations: 0.6586 MB / 3.411 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/9.121, allocations: 263.8 kB / 3.411 GB, free: 152.5 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.001913/9.123, allocations: 256.5 kB / 3.411 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002263/9.126, allocations: 414.8 kB / 3.412 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05292/9.179, allocations: 8.415 MB / 3.42 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/9.179, allocations: 16 kB / 3.42 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/9.179, allocations: 4 kB / 3.42 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-05/9.179, allocations: 7.969 kB / 3.42 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06442/9.243, allocations: 15.33 MB / 3.435 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/9.243, allocations: 0 / 3.435 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01076/9.254, allocations: 0.81 MB / 3.436 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/9.256, allocations: 245.3 kB / 3.436 GB, free: 127 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001135/9.257, allocations: 115.8 kB / 3.436 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/9.26, allocations: 2.185 MB / 3.438 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/9.26, allocations: 0 / 3.438 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04977/9.31, allocations: 7.867 MB / 3.446 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007278/9.317, allocations: 2.049 MB / 3.448 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002725/9.32, allocations: 135.9 kB / 3.448 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01329/9.333, allocations: 0.675 MB / 3.449 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009747/9.334, allocations: 149 kB / 3.449 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001098/9.335, allocations: 247.8 kB / 3.449 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01505/9.351, allocations: 5.501 MB / 3.454 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.262e-06/9.351, allocations: 0 / 3.454 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01151/9.362, allocations: 1.721 MB / 3.456 GB, free: 106.1 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.02659/9.389, allocations: 8.565 MB / 3.464 GB, free: 97.71 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.04075/9.43, allocations: 14.71 MB / 3.479 GB, free: 82.83 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/9.43, allocations: 0 / 3.479 GB, free: 82.83 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.009122/9.439, allocations: 3.651 MB / 3.482 GB, free: 79.16 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008813/9.448, allocations: 1.092 MB / 3.483 GB, free: 78.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04457/9.492, allocations: 11.59 MB / 3.495 GB, free: 66.49 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007006/9.499, allocations: 3.228 MB / 3.498 GB, free: 63.24 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.028/9.527, allocations: 5.18 MB / 3.503 GB, free: 58.05 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006538/9.534, allocations: 1.546 MB / 3.504 GB, free: 56.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.535e-06/9.534, allocations: 3.938 kB / 3.504 GB, free: 56.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.008/10.54, allocations: 163.4 MB / 3.664 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/10.54, allocations: 248.3 kB / 3.664 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.772/20.32, allocations: 0 / 3.664 GB, free: 205.3 MB / 0.8698 GB