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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.12/4.12, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.338e-05/4.35e-05, allocations: 6.875 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2287, allocations: 98.74 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.945/7.174, allocations: 2.196 GB / 2.831 GB, free: 103.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/7.175, allocations: 109.4 kB / 2.831 GB, free: 103.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.229/8.404, allocations: 200 MB / 3.026 GB, free: 237.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.555e-06/8.404, allocations: 4 kB / 3.026 GB, free: 237.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006403/8.405, allocations: 61.58 kB / 3.026 GB, free: 237.6 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.01157/8.416, allocations: 3.265 MB / 3.029 GB, free: 235.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 9.01e-05/8.416, allocations: 11.38 kB / 3.029 GB, free: 235.2 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008862/8.417, allocations: 142.9 kB / 3.03 GB, free: 235.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05189/8.469, allocations: 3.566 MB / 3.033 GB, free: 233.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/8.485, allocations: 5.077 MB / 3.038 GB, free: 228.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001071/8.486, allocations: 346.6 kB / 3.038 GB, free: 227.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/8.487, allocations: 99.98 kB / 3.038 GB, free: 227.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/8.499, allocations: 5.171 MB / 3.043 GB, free: 222.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/8.499, allocations: 0 / 3.043 GB, free: 222.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007618/8.5, allocations: 36.34 kB / 3.044 GB, free: 222.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/8.5, allocations: 23.95 kB / 3.044 GB, free: 222.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/8.516, allocations: 7.199 MB / 3.051 GB, free: 215.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05621/8.572, allocations: 17.24 MB / 3.067 GB, free: 198 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02472/8.597, allocations: 7.177 MB / 3.074 GB, free: 190.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006789/8.604, allocations: 3.213 MB / 3.078 GB, free: 187.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006938/8.605, allocations: 0.5983 MB / 3.078 GB, free: 186.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01106/8.616, allocations: 4.625 MB / 3.083 GB, free: 182.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=137): time 1.138e-05/8.616, allocations: 0 / 3.083 GB, free: 182.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=137): time 0.07952/8.696, allocations: 7.729 MB / 3.09 GB, free: 174.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/8.696, allocations: 110.4 kB / 3.09 GB, free: 174.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02152/8.717, allocations: 7.222 MB / 3.097 GB, free: 167.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001539/8.719, allocations: 89.69 kB / 3.097 GB, free: 167 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003427/8.722, allocations: 1.663 MB / 3.099 GB, free: 165.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/8.724, allocations: 418.1 kB / 3.099 GB, free: 164.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006794/8.725, allocations: 28 kB / 3.1 GB, free: 164.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001698/8.725, allocations: 369.9 kB / 3.1 GB, free: 164.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00835/8.733, allocations: 4.162 MB / 3.104 GB, free: 160.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008622/8.742, allocations: 4.199 MB / 3.108 GB, free: 156.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00727/8.749, allocations: 3.376 MB / 3.111 GB, free: 152.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/8.749, allocations: 4 kB / 3.111 GB, free: 152.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.05506/8.804, allocations: 9.864 MB / 3.121 GB, free: 142.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000389/8.805, allocations: 472 kB / 3.121 GB, free: 142.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/8.805, allocations: 0 / 3.121 GB, free: 142.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007569/8.812, allocations: 1.074 MB / 3.122 GB, free: 141.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/8.823, allocations: 0.8542 MB / 3.123 GB, free: 140.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/8.834, allocations: 5.11 MB / 3.128 GB, free: 135 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/8.847, allocations: 0.6702 MB / 3.129 GB, free: 134.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/8.849, allocations: 259.8 kB / 3.129 GB, free: 134.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/8.849, allocations: 4 kB / 3.129 GB, free: 134.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05327/8.902, allocations: 9.539 MB / 3.139 GB, free: 124.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/8.902, allocations: 11.98 kB / 3.139 GB, free: 124.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005873/8.908, allocations: 0.9416 MB / 3.139 GB, free: 123.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/8.919, allocations: 0.862 MB / 3.14 GB, free: 122.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/8.933, allocations: 8.951 MB / 3.149 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01235/8.946, allocations: 0.6626 MB / 3.15 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/8.947, allocations: 263.8 kB / 3.15 GB, free: 112.1 MB / 0.823 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 (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.00204/8.949, allocations: 258.3 kB / 3.15 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/8.951, allocations: 422.8 kB / 3.151 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05208/9.004, allocations: 8.357 MB / 3.159 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/9.004, allocations: 12 kB / 3.159 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/9.004, allocations: 0 / 3.159 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-05/9.004, allocations: 7.969 kB / 3.159 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06401/9.068, allocations: 15.29 MB / 3.174 GB, free: 87.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/9.068, allocations: 0 / 3.174 GB, free: 87.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01065/9.078, allocations: 0.8153 MB / 3.174 GB, free: 86.83 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/9.08, allocations: 229.5 kB / 3.175 GB, free: 86.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/9.081, allocations: 127.8 kB / 3.175 GB, free: 86.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/9.084, allocations: 2.19 MB / 3.177 GB, free: 84.12 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/9.084, allocations: 3.938 kB / 3.177 GB, free: 84.12 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04932/9.134, allocations: 7.806 MB / 3.185 GB, free: 76.27 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006661/9.14, allocations: 2.038 MB / 3.187 GB, free: 74.21 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002525/9.143, allocations: 135.9 kB / 3.187 GB, free: 74.08 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01292/9.156, allocations: 0.675 MB / 3.187 GB, free: 73.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008924/9.157, allocations: 141.1 kB / 3.187 GB, free: 73.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001106/9.158, allocations: 251.8 kB / 3.188 GB, free: 73.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0154/9.173, allocations: 5.501 MB / 3.193 GB, free: 67.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.71e-07/9.174, allocations: 0 / 3.193 GB, free: 67.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0119/9.185, allocations: 1.71 MB / 3.195 GB, free: 65.8 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.02544/9.211, allocations: 8.518 MB / 3.203 GB, free: 57.25 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.04056/9.252, allocations: 14.69 MB / 3.217 GB, free: 42.39 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/9.252, allocations: 7.938 kB / 3.217 GB, free: 42.38 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008746/9.26, allocations: 3.652 MB / 3.221 GB, free: 38.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008455/9.269, allocations: 1.081 MB / 3.222 GB, free: 37.62 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04192/9.311, allocations: 11.58 MB / 3.233 GB, free: 25.99 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006475/9.317, allocations: 3.227 MB / 3.237 GB, free: 22.73 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.02647/9.344, allocations: 5.125 MB / 3.242 GB, free: 17.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006439/9.35, allocations: 1.557 MB / 3.243 GB, free: 16.04 MB / 0.823 GB Notification: Performance of SimCode: time 1.543e-06/9.35, allocations: 0 / 3.243 GB, free: 16.04 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.06/10.41, allocations: 163.4 MB / 3.403 GB, free: 147.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/10.41, allocations: 256.2 kB / 3.403 GB, free: 147.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/20.59, allocations: 4.938 kB / 3.403 GB, free: 147.1 MB / 0.823 GB