Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling") Notification: Performance of loadModel(Buildings): time 3.977/3.977, allocations: 433.4 MB / 440.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.475e-05, allocations: 8 kB / 0.5325 GB, free: 1.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.4998, allocations: 98.72 MB / 0.6289 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.553/6.053, allocations: 2.195 GB / 2.824 GB, free: 115.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/6.053, allocations: 106 kB / 2.824 GB, free: 115.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.06/7.114, allocations: 182.7 MB / 3.003 GB, free: 251 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.118e-06/7.114, allocations: 0 / 3.003 GB, free: 251 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004676/7.114, allocations: 62.08 kB / 3.003 GB, free: 251 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.009189/7.123, allocations: 3.262 MB / 3.006 GB, free: 249 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/7.123, allocations: 10.91 kB / 3.006 GB, free: 249 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03757/7.161, allocations: 3.567 MB / 3.01 GB, free: 248.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/7.174, allocations: 5.058 MB / 3.015 GB, free: 246.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000874/7.175, allocations: 311.6 kB / 3.015 GB, free: 245.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008874/7.176, allocations: 69.88 kB / 3.015 GB, free: 245.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01387/7.19, allocations: 7.146 MB / 3.022 GB, free: 242.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/7.2, allocations: 5.06 MB / 3.027 GB, free: 240.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/7.2, allocations: 352 / 3.027 GB, free: 240.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006062/7.2, allocations: 11.11 kB / 3.027 GB, free: 240.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/7.2, allocations: 19.59 kB / 3.027 GB, free: 240.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04109/7.242, allocations: 17.06 MB / 3.044 GB, free: 225 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/7.258, allocations: 7.134 MB / 3.05 GB, free: 217.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004954/7.263, allocations: 3.167 MB / 3.054 GB, free: 214.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000507/7.263, allocations: 0.5906 MB / 3.054 GB, free: 214 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007491/7.271, allocations: 4.589 MB / 3.059 GB, free: 209.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=137): time 6.693e-06/7.271, allocations: 0 / 3.059 GB, free: 209.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=137): time 0.03766/7.308, allocations: 8.329 MB / 3.067 GB, free: 201.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/7.309, allocations: 122.2 kB / 3.067 GB, free: 200.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01368/7.322, allocations: 6.986 MB / 3.074 GB, free: 193.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001184/7.323, allocations: 65.69 kB / 3.074 GB, free: 193.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002679/7.326, allocations: 1.632 MB / 3.075 GB, free: 192.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/7.327, allocations: 402.1 kB / 3.076 GB, free: 191.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004785/7.328, allocations: 0 / 3.076 GB, free: 191.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001455/7.328, allocations: 363.9 kB / 3.076 GB, free: 191.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006267/7.334, allocations: 4.147 MB / 3.08 GB, free: 187.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006383/7.341, allocations: 4.181 MB / 3.084 GB, free: 183.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04098/7.382, allocations: 13.3 MB / 3.097 GB, free: 169.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/7.382, allocations: 3.938 kB / 3.097 GB, free: 169.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.07068/7.452, allocations: 19.71 MB / 3.116 GB, free: 150.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002897/7.453, allocations: 475.2 kB / 3.117 GB, free: 149.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/7.453, allocations: 3.984 kB / 3.117 GB, free: 149.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005336/7.458, allocations: 1.032 MB / 3.118 GB, free: 148.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006925/7.465, allocations: 0.8571 MB / 3.119 GB, free: 147.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/7.472, allocations: 5.12 MB / 3.124 GB, free: 142.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007919/7.48, allocations: 0.643 MB / 3.124 GB, free: 141.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/7.482, allocations: 267.4 kB / 3.125 GB, free: 141.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/7.482, allocations: 4 kB / 3.125 GB, free: 141.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06577/7.547, allocations: 19.27 MB / 3.143 GB, free: 122.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/7.548, allocations: 6.906 kB / 3.143 GB, free: 122.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/7.552, allocations: 0.9412 MB / 3.144 GB, free: 121.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006975/7.559, allocations: 0.853 MB / 3.145 GB, free: 120.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/7.569, allocations: 8.677 MB / 3.154 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007807/7.577, allocations: 0.6276 MB / 3.154 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/7.578, allocations: 259.8 kB / 3.155 GB, free: 110.2 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.001408/7.58, allocations: 213.5 kB / 3.155 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/7.581, allocations: 414.8 kB / 3.155 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03745/7.619, allocations: 8.674 MB / 3.164 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/7.619, allocations: 13.41 kB / 3.164 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.206e-06/7.619, allocations: 0 / 3.164 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/7.619, allocations: 7.969 kB / 3.164 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04664/7.666, allocations: 15.47 MB / 3.179 GB, free: 85.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/7.666, allocations: 0 / 3.179 GB, free: 85.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006649/7.672, allocations: 0.8108 MB / 3.18 GB, free: 84.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/7.674, allocations: 236.5 kB / 3.18 GB, free: 84.37 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000877/7.674, allocations: 107.8 kB / 3.18 GB, free: 84.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/7.677, allocations: 2.142 MB / 3.182 GB, free: 81.99 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.167e-06/7.677, allocations: 0 / 3.182 GB, free: 81.99 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03479/7.712, allocations: 8.137 MB / 3.19 GB, free: 73.83 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005358/7.717, allocations: 2.03 MB / 3.192 GB, free: 71.77 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/7.719, allocations: 129.6 kB / 3.192 GB, free: 71.65 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008167/7.728, allocations: 0.6593 MB / 3.193 GB, free: 70.99 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006732/7.728, allocations: 145 kB / 3.193 GB, free: 70.85 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008613/7.729, allocations: 251.8 kB / 3.193 GB, free: 70.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01154/7.741, allocations: 5.266 MB / 3.198 GB, free: 65.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.289e-06/7.741, allocations: 4 kB / 3.198 GB, free: 65.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008552/7.749, allocations: 1.632 MB / 3.2 GB, free: 63.7 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.003021/7.752, allocations: 1.325 MB / 3.201 GB, free: 62.53 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02868/7.781, allocations: 14.56 MB / 3.215 GB, free: 47.83 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.244e-06/7.781, allocations: 0 / 3.215 GB, free: 47.83 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006464/7.788, allocations: 3.61 MB / 3.219 GB, free: 44.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006588/7.794, allocations: 1.069 MB / 3.22 GB, free: 43.17 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02483/7.819, allocations: 10.15 MB / 3.23 GB, free: 32.98 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/7.824, allocations: 3.227 MB / 3.233 GB, free: 29.73 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.02214/7.846, allocations: 5.149 MB / 3.238 GB, free: 24.58 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002919/7.849, allocations: 327.1 kB / 3.238 GB, free: 24.26 MB / 0.823 GB Notification: Performance of SimCode: time 2.216e-06/7.849, allocations: 7.938 kB / 3.238 GB, free: 24.25 MB / 0.823 GB Notification: Performance of Templates: time 0.6836/8.533, allocations: 96.72 MB / 3.333 GB, free: 228.1 MB / 0.823 GB