Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.888/3.888, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.435e-05, allocations: 4.953 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2045, allocations: 98.74 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.361/7.565, allocations: 2.478 GB / 3.107 GB, free: 163 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/7.566, allocations: 88.89 kB / 3.107 GB, free: 163 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.19/17.76, allocations: 1.979 GB / 5.087 GB, free: 100.6 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.923e-06/17.76, allocations: 3.938 kB / 5.087 GB, free: 100.6 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.001241/17.76, allocations: 133.3 kB / 5.087 GB, free: 100.6 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.02406/17.78, allocations: 5.182 MB / 5.092 GB, free: 98.32 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/17.78, allocations: 14.72 kB / 5.092 GB, free: 98.32 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/17.79, allocations: 1.243 MB / 5.093 GB, free: 98 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02399/17.82, allocations: 6.742 MB / 5.1 GB, free: 97.11 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002997/17.82, allocations: 129.5 kB / 5.1 GB, free: 97.11 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00193/17.82, allocations: 248.1 kB / 5.1 GB, free: 97.11 MB / 0.8699 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01472/17.84, allocations: 4.489 MB / 5.105 GB, free: 97.09 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/17.85, allocations: 4.925 MB / 5.109 GB, free: 96.72 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003051/17.86, allocations: 3.438 kB / 5.109 GB, free: 96.72 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/17.86, allocations: 13.83 kB / 5.11 GB, free: 96.72 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003025/17.86, allocations: 195.1 kB / 5.11 GB, free: 96.71 MB / 0.8699 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0544/17.91, allocations: 23.28 MB / 5.132 GB, free: 83 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008599/17.92, allocations: 4.539 MB / 5.137 GB, free: 80.24 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004572/17.92, allocations: 1.981 MB / 5.139 GB, free: 79.51 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/17.93, allocations: 1 MB / 5.14 GB, free: 78.46 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004852/17.93, allocations: 1.821 MB / 5.142 GB, free: 77.71 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=270): time 6.752e-06/17.93, allocations: 0 / 5.142 GB, free: 77.71 MB / 0.8699 GB Notification: Performance of matching and sorting (n=274): time 0.03819/17.97, allocations: 9.136 MB / 5.15 GB, free: 69.44 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/17.97, allocations: 184.3 kB / 5.151 GB, free: 69.22 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009172/17.98, allocations: 3.603 MB / 5.154 GB, free: 66.11 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.0008509/17.98, allocations: 33.7 kB / 5.154 GB, free: 66.07 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.003191/17.98, allocations: 2.263 MB / 5.156 GB, free: 64.03 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/17.98, allocations: 0.9061 MB / 5.157 GB, free: 63.19 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/17.99, allocations: 0 / 5.157 GB, free: 63.19 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0002339/17.99, allocations: 422.3 kB / 5.158 GB, free: 62.8 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/17.99, allocations: 1.345 MB / 5.159 GB, free: 61.62 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/17.99, allocations: 2.078 MB / 5.161 GB, free: 59.51 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/18, allocations: 1.893 MB / 5.163 GB, free: 57.83 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-05/18, allocations: 4 kB / 5.163 GB, free: 57.83 MB / 0.8699 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01186/18.01, allocations: 3.913 MB / 5.167 GB, free: 53.88 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 0.001096/18.01, allocations: 5.373 MB / 5.172 GB, free: 48.21 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.023e-05/18.01, allocations: 15.98 kB / 5.172 GB, free: 48.19 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/18.01, allocations: 124 kB / 5.172 GB, free: 48.07 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/18.02, allocations: 0.6279 MB / 5.173 GB, free: 47.44 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/18.02, allocations: 2.689 MB / 5.175 GB, free: 44.64 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008635/18.03, allocations: 446.1 kB / 5.176 GB, free: 44.22 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008741/18.03, allocations: 116 kB / 5.176 GB, free: 44.11 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/18.03, allocations: 4 kB / 5.176 GB, free: 44.11 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01002/18.04, allocations: 3.495 MB / 5.179 GB, free: 40.57 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/18.04, allocations: 12 kB / 5.179 GB, free: 40.56 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004861/18.04, allocations: 123.2 kB / 5.179 GB, free: 40.44 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005013/18.05, allocations: 0.6124 MB / 5.18 GB, free: 39.82 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/18.05, allocations: 2.066 MB / 5.182 GB, free: 37.64 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008415/18.06, allocations: 434.9 kB / 5.182 GB, free: 37.22 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00087/18.06, allocations: 120 kB / 5.183 GB, free: 37.1 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001009/18.06, allocations: 246 kB / 5.183 GB, free: 36.85 MB / 0.8699 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01002/18.07, allocations: 3.339 MB / 5.186 GB, free: 33.45 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/18.07, allocations: 419 kB / 5.186 GB, free: 33.04 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/18.08, allocations: 3.667 MB / 5.19 GB, free: 29.32 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-05/18.08, allocations: 27.98 kB / 5.19 GB, free: 29.29 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/18.08, allocations: 7.938 kB / 5.19 GB, free: 29.28 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008405/18.09, allocations: 3.098 MB / 5.193 GB, free: 26.11 MB / 0.8699 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02666/18.12, allocations: 9.394 MB / 5.202 GB, free: 16.59 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/18.12, allocations: 4 kB / 5.202 GB, free: 16.58 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00559/18.12, allocations: 0.6242 MB / 5.203 GB, free: 15.96 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/18.12, allocations: 113.2 kB / 5.203 GB, free: 15.84 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005333/18.12, allocations: 53.11 kB / 5.203 GB, free: 15.8 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/18.13, allocations: 2.647 MB / 5.206 GB, free: 13.02 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/18.13, allocations: 7.938 kB / 5.206 GB, free: 13.01 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/18.14, allocations: 6.16 MB / 5.212 GB, free: 6.602 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004443/18.15, allocations: 1.041 MB / 5.213 GB, free: 5.539 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/18.15, allocations: 27.98 kB / 5.213 GB, free: 5.512 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007418/18.15, allocations: 407.1 kB / 5.213 GB, free: 5.113 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007621/18.16, allocations: 176.6 kB / 5.213 GB, free: 4.941 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003862/18.16, allocations: 99.95 kB / 5.213 GB, free: 4.844 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 0.006797/18.16, allocations: 2.801 MB / 5.216 GB, free: 2.031 MB / 0.8699 GB Notification: Performance of sort global known variables: time 1.052e-06/18.16, allocations: 0 / 5.216 GB, free: 2.031 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.01624/18.18, allocations: 2.558 MB / 5.219 GB, free: 15.47 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02417/18.2, allocations: 10.29 MB / 5.229 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.6754/18.88, allocations: 5.777 MB / 5.234 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/18.88, allocations: 1.812 kB / 5.234 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005108/18.88, allocations: 1.906 MB / 5.236 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02359/18.91, allocations: 2.642 MB / 5.239 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04479/18.95, allocations: 11.56 MB / 5.25 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009183/18.96, allocations: 4.066 MB / 5.254 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02257/18.98, allocations: 4.021 MB / 5.258 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006166/18.99, allocations: 2.027 MB / 5.26 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.212e-06/18.99, allocations: 0 / 5.26 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3687/19.36, allocations: 153.1 MB / 5.409 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/19.36, allocations: 188.4 kB / 5.41 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.837/28.2, allocations: 0 / 5.41 GB, free: 108.5 MB / 0.8855 GB