Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.558/4.558, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.0024/0.0024, allocations: 363.6 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.814/3.814, allocations: 410.7 MB / 1.112 GB, free: 5.996 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.001806/0.001806, allocations: 186.2 kB / 1.225 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.000484, allocations: 15.98 kB / 1.348 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/0.568, 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.CoolingCapacityAirCooled): time 0.002159/0.5702, allocations: 1.985 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.5724, allocations: 1.683 MB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.5726, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.5731, allocations: 191 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.5733, allocations: 53.2 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.5743, allocations: 368.2 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.5746, allocations: 341.4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.5748, allocations: 35.03 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.5749, allocations: 131.6 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.5751, allocations: 147.5 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.5751, allocations: 16 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.5755, allocations: 216.3 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.5757, allocations: 111.7 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.5757, allocations: 74.3 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.5762, allocations: 461 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.832e-06/0.5762, allocations: 1.031 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.801e-06/0.5762, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.5762, allocations: 0 / 1.466 GB, free: 278.5 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009671/0.5772, allocations: 0.6636 MB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5772, allocations: 12.91 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.5791, allocations: 166.3 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.5795, allocations: 353.3 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5797, allocations: 71.92 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.5797, allocations: 16.59 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5808, allocations: 455.9 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5809, allocations: 1.031 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.5809, allocations: 11.94 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-06/0.5809, allocations: 3.953 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.5827, allocations: 0.6225 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.5845, allocations: 1.052 MB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005372/0.5899, allocations: 0.9197 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008539/0.5908, allocations: 323.3 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.5908, allocations: 4 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.5919, allocations: 462 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.909e-06/0.5919, allocations: 0 / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.002723/0.5947, allocations: 0.9833 MB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.5947, allocations: 55.41 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.5952, allocations: 430.6 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.5953, allocations: 33.7 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5954, allocations: 169.7 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.5955, allocations: 55.28 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.5955, allocations: 0 / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.5956, allocations: 355.6 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009552/0.5966, allocations: 403.1 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/0.5975, allocations: 393.2 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/0.5984, allocations: 374.6 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.883e-06/0.5985, allocations: 0 / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002199/0.6007, allocations: 0.9489 MB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.6007, allocations: 49.84 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.752e-06/0.6008, allocations: 0 / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6008, allocations: 2.188 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.6013, allocations: 70.67 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.599e-06/0.6014, allocations: 0 / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.6018, allocations: 54.77 kB / 1.476 GB, free: 269 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.6019, allocations: 15.97 kB / 1.476 GB, free: 269 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 (17): * Single equations (assignments): 16 * 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.0002275/0.6021, allocations: 192.4 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.6022, allocations: 39.52 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.6023, allocations: 44.41 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.943e-06/0.6023, allocations: 0 / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.35e-06/0.6023, allocations: 0.7188 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.665e-06/0.6023, allocations: 0 / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.6029, allocations: 0.5564 MB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-06/0.6029, allocations: 0 / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.6034, allocations: 71.83 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.402e-06/0.6034, allocations: 4 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.6035, allocations: 7.984 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.519e-06/0.6035, allocations: 4 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.776e-06/0.6035, allocations: 1.25 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.6053, allocations: 0.703 MB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.6056, allocations: 165.2 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.6057, allocations: 8 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.6062, allocations: 56.38 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.6063, allocations: 22.25 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.6063, allocations: 15.98 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003388/0.6067, allocations: 312 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.36e-07/0.6067, allocations: 0 / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004294/0.6071, allocations: 84.23 kB / 1.478 GB, free: 266.7 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 (16): * Single equations (assignments): 14 * 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.0003724/0.6075, allocations: 151.3 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.6095, allocations: 0.7997 MB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.259e-06/0.6095, allocations: 1.281 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009022/0.6104, allocations: 346.5 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.611, allocations: 85.72 kB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.6128, allocations: 0.8814 MB / 1.48 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.6131, allocations: 0.8183 MB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006305/0.6137, allocations: 99.58 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.6139, allocations: 31.41 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.737e-06/0.6139, allocations: 5.25 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01299/0.6269, allocations: 6.474 MB / 1.487 GB, free: 257.2 MB / 0.8542 GB