Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.0009028, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007708/0.007709, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 473.4 MB / 0.7469 GB, free: 6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 14.64 kB / 0.9158 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3389, allocations: 162.2 MB / 1.074 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003048/0.342, allocations: 2.563 MB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.345, allocations: 2.177 MB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.3451, allocations: 3.938 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007384/0.3458, allocations: 259 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.346, allocations: 59.48 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.3469, allocations: 445.5 kB / 1.08 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.3475, allocations: 0.4907 MB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3476, allocations: 36.75 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3478, allocations: 183.4 kB / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.348, allocations: 207.3 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.3481, allocations: 24 kB / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.3485, allocations: 227.7 kB / 1.081 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.3486, allocations: 139.6 kB / 1.081 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.3489, allocations: 232.6 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006735/0.3495, allocations: 0.7165 MB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3496, allocations: 0 / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3496, allocations: 3.938 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3496, allocations: 0 / 1.082 GB, free: 15.7 MB / 0.8419 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.001194/0.3508, allocations: 0.7702 MB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3508, allocations: 11.97 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.353, allocations: 252.1 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.3536, allocations: 422 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.3537, allocations: 83.94 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.3538, allocations: 12.38 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.3551, allocations: 0.5605 MB / 1.084 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3551, allocations: 7.938 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.3552, allocations: 4 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3552, allocations: 0 / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.3574, allocations: 0.8158 MB / 1.085 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.3597, allocations: 1.284 MB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005725/0.3654, allocations: 1.097 MB / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.3665, allocations: 424.6 kB / 1.087 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.3666, allocations: 8 kB / 1.087 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.3679, allocations: 0.5618 MB / 1.088 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 2.796e-06/0.3679, allocations: 0 / 1.088 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.003457/0.3714, allocations: 1.266 MB / 1.089 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3714, allocations: 59.41 kB / 1.089 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.3721, allocations: 0.5135 MB / 1.09 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.3722, allocations: 33.7 kB / 1.09 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3724, allocations: 200.4 kB / 1.09 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.3725, allocations: 63.09 kB / 1.09 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.3726, allocations: 21.72 kB / 1.09 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3727, allocations: 366.8 kB / 1.09 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3739, allocations: 492.5 kB / 1.091 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.3751, allocations: 0.5197 MB / 1.091 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.3772, allocations: 0.8181 MB / 1.092 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3772, allocations: 0 / 1.092 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002599/0.3798, allocations: 1.125 MB / 1.093 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.3799, allocations: 41.69 kB / 1.093 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3799, allocations: 0 / 1.093 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3799, allocations: 3.938 kB / 1.093 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.3806, allocations: 115.8 kB / 1.093 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3806, allocations: 4 kB / 1.093 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.3811, allocations: 79.72 kB / 1.093 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.3812, allocations: 11.98 kB / 1.093 GB, free: 3.434 MB / 0.8419 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 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003107/0.3815, allocations: 209.8 kB / 1.094 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.3816, allocations: 43.52 kB / 1.094 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.3817, allocations: 47.92 kB / 1.094 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3817, allocations: 7.938 kB / 1.094 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3817, allocations: 8 kB / 1.094 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3818, allocations: 3.984 kB / 1.094 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.3825, allocations: 0.6456 MB / 1.094 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3825, allocations: 0 / 1.094 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.3831, allocations: 107.8 kB / 1.094 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3831, allocations: 0 / 1.094 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.3831, allocations: 15.92 kB / 1.094 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3831, allocations: 0 / 1.094 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3831, allocations: 3.938 kB / 1.094 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.3854, allocations: 0.8966 MB / 1.095 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.3857, allocations: 184.5 kB / 1.096 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.3858, allocations: 7.938 kB / 1.096 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.3864, allocations: 83.92 kB / 1.096 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3865, allocations: 23.95 kB / 1.096 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.3865, allocations: 15.98 kB / 1.096 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004561/0.387, allocations: 387.1 kB / 1.096 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.387, allocations: 0 / 1.096 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000451/0.3874, allocations: 107.9 kB / 1.096 GB, free: 0.5586 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00032/0.3878, allocations: 131.1 kB / 1.096 GB, free: 432 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.3902, allocations: 0.995 MB / 1.097 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3902, allocations: 0 / 1.097 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.3913, allocations: 451.6 kB / 1.098 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3918, allocations: 87.92 kB / 1.098 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.3942, allocations: 1.18 MB / 1.099 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.3947, allocations: 0.8583 MB / 1.1 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005237/0.3952, allocations: 130.9 kB / 1.1 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.3954, allocations: 39.41 kB / 1.1 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.3954, allocations: 0 / 1.1 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.01474/0.4102, allocations: 8.175 MB / 1.108 GB, free: 4.566 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)