Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DXCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.08/4.08, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.799e-05, allocations: 7.094 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2179, allocations: 98.72 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.822/7.04, allocations: 2.195 GB / 2.824 GB, free: 140 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005317/7.04, allocations: 107.7 kB / 2.824 GB, free: 139.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.231/8.271, allocations: 182.7 MB / 3.003 GB, free: 239.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.595e-06/8.271, allocations: 3.062 kB / 3.003 GB, free: 239.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005815/8.271, allocations: 56.34 kB / 3.003 GB, free: 239.7 MB / 0.823 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.01135/8.283, allocations: 3.265 MB / 3.006 GB, free: 238.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/8.283, allocations: 12.75 kB / 3.006 GB, free: 238.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05089/8.334, allocations: 3.567 MB / 3.01 GB, free: 237.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01985/8.354, allocations: 5.077 MB / 3.015 GB, free: 237.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/8.355, allocations: 309.8 kB / 3.015 GB, free: 237 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/8.356, allocations: 61.08 kB / 3.015 GB, free: 237 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01601/8.372, allocations: 7.139 MB / 3.022 GB, free: 237 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/8.384, allocations: 5.065 MB / 3.027 GB, free: 236.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/8.384, allocations: 0 / 3.027 GB, free: 236.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007671/8.385, allocations: 14.27 kB / 3.027 GB, free: 236.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/8.385, allocations: 19.44 kB / 3.027 GB, free: 236.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05671/8.441, allocations: 17.07 MB / 3.044 GB, free: 231 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02271/8.464, allocations: 7.118 MB / 3.05 GB, free: 227.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006161/8.47, allocations: 3.183 MB / 3.054 GB, free: 226.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/8.471, allocations: 0.5938 MB / 3.054 GB, free: 225.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01024/8.481, allocations: 4.585 MB / 3.059 GB, free: 223.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=137): time 9.408e-06/8.481, allocations: 0 / 3.059 GB, free: 223.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=137): time 0.07678/8.558, allocations: 8.325 MB / 3.067 GB, free: 220.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/8.558, allocations: 107.9 kB / 3.067 GB, free: 220.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01781/8.576, allocations: 6.98 MB / 3.074 GB, free: 216.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001542/8.578, allocations: 67.55 kB / 3.074 GB, free: 216.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003705/8.582, allocations: 1.634 MB / 3.075 GB, free: 214.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/8.583, allocations: 405.8 kB / 3.076 GB, free: 214.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000815/8.584, allocations: 3.156 kB / 3.076 GB, free: 214.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001964/8.584, allocations: 362.5 kB / 3.076 GB, free: 214.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007981/8.592, allocations: 4.144 MB / 3.08 GB, free: 210.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008113/8.6, allocations: 4.182 MB / 3.084 GB, free: 206.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05616/8.657, allocations: 13.29 MB / 3.097 GB, free: 194.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/8.657, allocations: 0 / 3.097 GB, free: 194.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.103/8.76, allocations: 19.71 MB / 3.116 GB, free: 175.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000352/8.76, allocations: 475.2 kB / 3.117 GB, free: 174.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/8.76, allocations: 0 / 3.117 GB, free: 174.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006967/8.767, allocations: 1.033 MB / 3.118 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/8.779, allocations: 0.8526 MB / 3.119 GB, free: 172.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/8.791, allocations: 5.128 MB / 3.124 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02017/8.811, allocations: 0.6426 MB / 3.124 GB, free: 166.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/8.813, allocations: 267.7 kB / 3.125 GB, free: 166.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/8.813, allocations: 4 kB / 3.125 GB, free: 166.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1555/8.968, allocations: 19.28 MB / 3.143 GB, free: 147.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/8.968, allocations: 4 kB / 3.143 GB, free: 147.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00561/8.974, allocations: 0.9472 MB / 3.144 GB, free: 146.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/8.985, allocations: 0.8532 MB / 3.145 GB, free: 145.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/8.998, allocations: 8.673 MB / 3.154 GB, free: 136.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/9.01, allocations: 0.6276 MB / 3.154 GB, free: 135.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/9.011, allocations: 255.8 kB / 3.155 GB, free: 135.3 MB / 0.823 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 (150): * Single equations (assignments): 141 * 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.001612/9.013, allocations: 220.2 kB / 3.155 GB, free: 135.1 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05267/9.065, allocations: 8.226 MB / 3.163 GB, free: 126.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002801/9.068, allocations: 414.7 kB / 3.163 GB, free: 126.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05395/9.122, allocations: 8.668 MB / 3.172 GB, free: 117.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/9.122, allocations: 16 kB / 3.172 GB, free: 117.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/9.122, allocations: 0 / 3.172 GB, free: 117.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.919e-05/9.122, allocations: 7.969 kB / 3.172 GB, free: 117.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06493/9.187, allocations: 15.46 MB / 3.187 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/9.187, allocations: 3.938 kB / 3.187 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01029/9.198, allocations: 0.8156 MB / 3.188 GB, free: 101.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/9.199, allocations: 231.3 kB / 3.188 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009818/9.2, allocations: 111.8 kB / 3.188 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/9.203, allocations: 2.14 MB / 3.19 GB, free: 98.91 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/9.203, allocations: 2.531 kB / 3.19 GB, free: 98.91 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05202/9.255, allocations: 8.136 MB / 3.198 GB, free: 90.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006536/9.262, allocations: 2.038 MB / 3.2 GB, free: 88.69 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/9.264, allocations: 116 kB / 3.2 GB, free: 88.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01226/9.277, allocations: 0.6593 MB / 3.201 GB, free: 87.91 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008431/9.277, allocations: 153 kB / 3.201 GB, free: 87.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001032/9.278, allocations: 247.8 kB / 3.201 GB, free: 87.53 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01335/9.292, allocations: 5.266 MB / 3.206 GB, free: 82.27 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.323e-06/9.292, allocations: 0 / 3.206 GB, free: 82.27 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01057/9.302, allocations: 1.632 MB / 3.208 GB, free: 80.63 MB / 0.823 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 (129): * Single equations (assignments): 110 * 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.03375/9.336, allocations: 8.948 MB / 3.217 GB, free: 71.82 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0367/9.373, allocations: 14.56 MB / 3.231 GB, free: 57.16 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/9.373, allocations: 0 / 3.231 GB, free: 57.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007753/9.381, allocations: 3.61 MB / 3.234 GB, free: 53.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008207/9.389, allocations: 1.078 MB / 3.235 GB, free: 52.54 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04007/9.429, allocations: 11.44 MB / 3.247 GB, free: 41.05 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006454/9.436, allocations: 3.23 MB / 3.25 GB, free: 37.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.02725/9.463, allocations: 5.147 MB / 3.255 GB, free: 32.69 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006082/9.469, allocations: 1.542 MB / 3.256 GB, free: 31.15 MB / 0.823 GB Notification: Performance of SimCode: time 1.35e-05/9.469, allocations: 0 / 3.256 GB, free: 31.15 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.877/10.35, allocations: 138.3 MB / 3.391 GB, free: 190.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/10.35, allocations: 188.8 kB / 3.391 GB, free: 190.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.307/19.65, allocations: 0 / 3.391 GB, free: 190.3 MB / 0.823 GB