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.001124/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001357/0.001357, allocations: 194.1 kB / 16.14 MB, free: 6.656 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 63.8 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.349, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004112/0.3531, allocations: 2.917 MB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00295/0.3561, allocations: 2.23 MB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.3563, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000732/0.357, allocations: 251 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.3572, allocations: 67.42 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3585, allocations: 444.7 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005794/0.3591, allocations: 490.6 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3593, allocations: 52.72 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.3596, allocations: 183.4 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.3599, allocations: 207.3 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.36, allocations: 28 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.3605, allocations: 223.7 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.3607, allocations: 151.6 kB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.3609, allocations: 198.9 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007968/0.3617, allocations: 0.74 MB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3617, allocations: 0 / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3618, allocations: 0 / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.3618, allocations: 3.938 kB / 1.075 GB, free: 2.754 MB / 0.8262 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.001615/0.3634, allocations: 0.84 MB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3634, allocations: 8.031 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.3657, allocations: 232.1 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/0.3663, allocations: 426 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.3664, allocations: 79.95 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.3665, allocations: 20.3 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3679, allocations: 0.5303 MB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3679, allocations: 0 / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.368, allocations: 4 kB / 1.078 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.368, allocations: 8 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.3703, allocations: 0.7572 MB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.3734, allocations: 1.272 MB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005969/0.3794, allocations: 1.021 MB / 1.081 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.3804, allocations: 398.5 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.3805, allocations: 3.984 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.3819, allocations: 0.5353 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 3.767e-06/0.3819, allocations: 0 / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.003473/0.3854, allocations: 1.181 MB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.3855, allocations: 59.41 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/0.3863, allocations: 0.5175 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.952e-05/0.3864, allocations: 33.7 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3866, allocations: 200.4 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.254e-05/0.3867, allocations: 67.08 kB / 1.083 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.3869, allocations: 61.67 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3871, allocations: 358.8 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.3882, allocations: 476.5 kB / 1.084 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.3893, allocations: 0.4951 MB / 1.085 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.3913, allocations: 0.7519 MB / 1.086 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3913, allocations: 0 / 1.086 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002566/0.3939, allocations: 1.075 MB / 1.087 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.3939, allocations: 41.69 kB / 1.087 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.394, allocations: 4 kB / 1.087 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.394, allocations: 3.938 kB / 1.087 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.3946, allocations: 95.81 kB / 1.087 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3946, allocations: 4 kB / 1.087 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.3952, allocations: 55.88 kB / 1.087 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/0.3953, allocations: 15.92 kB / 1.087 GB, free: 6.91 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.0003731/0.3957, allocations: 217.7 kB / 1.087 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.3958, allocations: 47.42 kB / 1.087 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.396, allocations: 55.86 kB / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.396, allocations: 0 / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.396, allocations: 0 / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.396, allocations: 4 kB / 1.087 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009031/0.3969, allocations: 0.6417 MB / 1.088 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3969, allocations: 3.984 kB / 1.088 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.3975, allocations: 87.89 kB / 1.088 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3975, allocations: 0 / 1.088 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.3976, allocations: 19.86 kB / 1.088 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3976, allocations: 0 / 1.088 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3976, allocations: 8 kB / 1.088 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.3999, allocations: 0.8358 MB / 1.089 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.4002, allocations: 180.5 kB / 1.089 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.4003, allocations: 11.94 kB / 1.089 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.4009, allocations: 59.92 kB / 1.089 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.401, allocations: 27.95 kB / 1.089 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.4011, allocations: 15.98 kB / 1.089 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005788/0.4017, allocations: 383.1 kB / 1.089 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4017, allocations: 0 / 1.089 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005745/0.4022, allocations: 104 kB / 1.089 GB, free: 4.129 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.0003797/0.4026, allocations: 143.1 kB / 1.09 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.4049, allocations: 0.938 MB / 1.09 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4049, allocations: 4 kB / 1.09 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.406, allocations: 427.6 kB / 1.091 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.4067, allocations: 85.91 kB / 1.091 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.4092, allocations: 1.144 MB / 1.092 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.4097, allocations: 0.8583 MB / 1.093 GB, free: 476 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005604/0.4103, allocations: 130.9 kB / 1.093 GB, free: 348 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.4105, allocations: 43.34 kB / 1.093 GB, free: 304 kB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.4105, allocations: 0 / 1.093 GB, free: 304 kB / 0.8419 GB Notification: Performance of Templates: time 0.01655/0.4271, allocations: 8.273 MB / 1.101 GB, free: 8.137 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)