Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.599/4.599, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002338/0.002338, allocations: 363 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.824/3.824, allocations: 410.7 MB / 1.112 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001757/0.001757, allocations: 186 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004948, allocations: 16 kB / 1.348 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/0.5599, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002658/0.5626, allocations: 2.465 MB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.5653, allocations: 2.023 MB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.5655, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.5661, allocations: 224.3 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.5663, allocations: 70.06 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.5674, allocations: 431.7 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.5679, allocations: 422.6 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.568, allocations: 48.58 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.5682, allocations: 168 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.5684, allocations: 197 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.5685, allocations: 24 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.5689, allocations: 223.6 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.569, allocations: 143.6 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.5691, allocations: 97.45 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.5697, allocations: 0.5736 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.936e-06/0.5697, allocations: 0 / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.689e-06/0.5697, allocations: 1.062 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.979e-06/0.5697, allocations: 4 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001163/0.5709, allocations: 0.7676 MB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.5709, allocations: 12.19 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.5732, allocations: 251.4 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.5738, allocations: 409 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.5739, allocations: 79.39 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.574, allocations: 10.06 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5755, allocations: 0.5569 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.5755, allocations: 0 / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.5755, allocations: 4 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.5756, allocations: 8.453 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.5779, allocations: 0.8369 MB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.5804, allocations: 1.279 MB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005697/0.5861, allocations: 1.082 MB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.5873, allocations: 426.1 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.5873, allocations: 3.984 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.5887, allocations: 0.5617 MB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 3.553e-06/0.5887, allocations: 0 / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.00364/0.5924, allocations: 1.266 MB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5924, allocations: 51.41 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006289/0.5931, allocations: 0.5174 MB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.662e-05/0.5931, allocations: 34.39 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.5933, allocations: 197 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/0.5934, allocations: 73.17 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.5935, allocations: 4 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.5936, allocations: 362.7 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.5948, allocations: 497.4 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.5963, allocations: 0.5137 MB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.5977, allocations: 466.5 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.929e-06/0.5977, allocations: 0 / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003216/0.6009, allocations: 1.144 MB / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.996e-05/0.601, allocations: 38.62 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.346e-06/0.601, allocations: 3.938 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.601, allocations: 4 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.6018, allocations: 109 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.932e-06/0.6018, allocations: 3.953 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/0.6024, allocations: 81.55 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.6025, allocations: 11.98 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002994/0.6028, allocations: 216.9 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.6029, allocations: 43.44 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.537e-05/0.603, allocations: 58.09 kB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-06/0.603, allocations: 0 / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-06/0.603, allocations: 0 / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.118e-06/0.603, allocations: 3.953 kB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.6037, allocations: 0.6493 MB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-06/0.6037, allocations: 0 / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.6045, allocations: 100.7 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.087e-06/0.6045, allocations: 0.9062 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.6045, allocations: 15.97 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.719e-06/0.6045, allocations: 4 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.653e-06/0.6046, allocations: 4.547 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.607, allocations: 0.8853 MB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.6072, allocations: 193.4 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.041e-05/0.6074, allocations: 8 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.608, allocations: 83.83 kB / 1.481 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.6081, allocations: 27.91 kB / 1.481 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.6082, allocations: 15.98 kB / 1.481 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004738/0.6087, allocations: 383.1 kB / 1.482 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.311e-06/0.6087, allocations: 0 / 1.482 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004937/0.6092, allocations: 103.9 kB / 1.482 GB, free: 262.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003941/0.6096, allocations: 156.5 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002522/0.6121, allocations: 0.9921 MB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6121, allocations: 4 kB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.6134, allocations: 454.6 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.614, allocations: 94.16 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.6165, allocations: 1.124 MB / 1.484 GB, free: 260 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.6169, allocations: 0.8622 MB / 1.485 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007657/0.6176, allocations: 133.1 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.6179, allocations: 35.41 kB / 1.485 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.7e-06/0.6179, allocations: 0 / 1.485 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.016/0.6339, allocations: 7.931 MB / 1.493 GB, free: 251.2 MB / 0.8542 GB