Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007558/0.0007558, 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.005672/0.005673, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005236, allocations: 17.38 kB / 0.6743 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.251, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003224/0.2543, allocations: 2.563 MB / 0.7904 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.2574, allocations: 2.214 MB / 0.7926 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2577, allocations: 4 kB / 0.7926 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008402/0.2586, allocations: 247.1 kB / 0.7928 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.2588, allocations: 67.41 kB / 0.7929 GB, free: 6.422 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.26, allocations: 445.9 kB / 0.7933 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.2607, allocations: 486.6 kB / 0.7938 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2608, allocations: 48.72 kB / 0.7938 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.2611, allocations: 179.4 kB / 0.794 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.2614, allocations: 203.3 kB / 0.7942 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.2615, allocations: 24 kB / 0.7942 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.262, allocations: 231.7 kB / 0.7944 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.2622, allocations: 147.6 kB / 0.7946 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.2624, allocations: 224.6 kB / 0.7948 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008767/0.2633, allocations: 0.7281 MB / 0.7955 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2633, allocations: 0 / 0.7955 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2633, allocations: 0 / 0.7955 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.2634, allocations: 0 / 0.7955 GB, free: 3.738 MB / 0.6075 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.001507/0.2649, allocations: 0.7663 MB / 0.7962 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2649, allocations: 11.97 kB / 0.7962 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.2671, allocations: 248.1 kB / 0.7965 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.2678, allocations: 429.9 kB / 0.7969 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.2679, allocations: 83.94 kB / 0.797 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.268, allocations: 15.94 kB / 0.797 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.2693, allocations: 0.5605 MB / 0.7975 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2693, allocations: 0 / 0.7975 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.2694, allocations: 8 kB / 0.7975 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2694, allocations: 3.984 kB / 0.7975 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.2715, allocations: 0.8229 MB / 0.7983 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.2738, allocations: 1.284 MB / 0.7996 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005377/0.2792, allocations: 1.084 MB / 0.8007 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.2803, allocations: 428.6 kB / 0.8011 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.2803, allocations: 4 kB / 0.8011 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.2816, allocations: 0.5574 MB / 0.8016 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.685e-06/0.2816, allocations: 4 kB / 0.8016 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003388/0.285, allocations: 1.261 MB / 0.8028 GB, free: 12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.2851, allocations: 55.41 kB / 0.8029 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/0.2858, allocations: 0.5252 MB / 0.8034 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/0.2859, allocations: 37.7 kB / 0.8034 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.2861, allocations: 200.5 kB / 0.8036 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-05/0.2862, allocations: 67.09 kB / 0.8037 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.2862, allocations: 25.7 kB / 0.8037 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2864, allocations: 354.8 kB / 0.8041 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.2875, allocations: 492.5 kB / 0.8045 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.2887, allocations: 0.5324 MB / 0.8051 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.2907, allocations: 0.8129 MB / 0.8059 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2907, allocations: 3.938 kB / 0.8059 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002542/0.2933, allocations: 1.143 MB / 0.807 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.2934, allocations: 45.62 kB / 0.807 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2934, allocations: 0 / 0.807 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.2934, allocations: 4 kB / 0.807 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.294, allocations: 99.83 kB / 0.8071 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2941, allocations: 4 kB / 0.8071 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.2946, allocations: 71.84 kB / 0.8072 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.2947, allocations: 19.97 kB / 0.8072 GB, free: 7.449 MB / 0.6231 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.0003278/0.295, allocations: 217.8 kB / 0.8074 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2951, allocations: 43.47 kB / 0.8075 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.2953, allocations: 51.92 kB / 0.8075 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2953, allocations: 0 / 0.8075 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2953, allocations: 3.984 kB / 0.8075 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2953, allocations: 0 / 0.8075 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.296, allocations: 0.6416 MB / 0.8081 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.296, allocations: 0 / 0.8081 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.2967, allocations: 111.8 kB / 0.8082 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2967, allocations: 3.938 kB / 0.8082 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.2967, allocations: 11.98 kB / 0.8083 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.2967, allocations: 0 / 0.8083 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2968, allocations: 4 kB / 0.8083 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.299, allocations: 0.8905 MB / 0.8091 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.2993, allocations: 192.3 kB / 0.8093 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.2994, allocations: 11.98 kB / 0.8093 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.3, allocations: 83.92 kB / 0.8094 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.3001, allocations: 23.97 kB / 0.8094 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.3002, allocations: 11.92 kB / 0.8094 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005416/0.3007, allocations: 395 kB / 0.8098 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3008, allocations: 4 kB / 0.8098 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004363/0.3012, allocations: 96 kB / 0.8099 GB, free: 4.578 MB / 0.6231 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.0004232/0.3016, allocations: 162 kB / 0.8101 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.304, allocations: 0.9977 MB / 0.811 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.304, allocations: 0 / 0.811 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.3051, allocations: 447.6 kB / 0.8115 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.3056, allocations: 85.84 kB / 0.8115 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.3079, allocations: 1.175 MB / 0.8127 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3083, allocations: 0.8544 MB / 0.8135 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005426/0.3088, allocations: 134.9 kB / 0.8137 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.309, allocations: 35.41 kB / 0.8137 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.309, allocations: 0 / 0.8137 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of Templates: time 0.01388/0.3229, allocations: 8.203 MB / 0.8217 GB, free: 8.559 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) Environment - environmentSimulation: