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.001351/0.001351, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.717/1.717, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001627/0.001627, allocations: 70.75 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2232, allocations: 114.6 MB / 0.7834 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004094/0.2273, allocations: 2.894 MB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003119/0.2305, allocations: 2.248 MB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.2307, allocations: 3.938 kB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007649/0.2314, allocations: 254.9 kB / 0.7887 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.2316, allocations: 75.23 kB / 0.7887 GB, free: 7.914 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.00112/0.2327, allocations: 496.1 kB / 0.7892 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.2333, allocations: 0.5103 MB / 0.7897 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2334, allocations: 48.73 kB / 0.7897 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.2336, allocations: 199.5 kB / 0.7899 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.2339, allocations: 207.3 kB / 0.7901 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.468e-05/0.234, allocations: 39.94 kB / 0.7902 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.2344, allocations: 259.6 kB / 0.7904 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.2346, allocations: 155.6 kB / 0.7906 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.2348, allocations: 215 kB / 0.7908 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007332/0.2355, allocations: 0.7517 MB / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2355, allocations: 0 / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2355, allocations: 0 / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2356, allocations: 0 / 0.7915 GB, free: 5.066 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.001384/0.2369, allocations: 0.836 MB / 0.7923 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.237, allocations: 12.03 kB / 0.7923 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.2392, allocations: 228.1 kB / 0.7926 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.2398, allocations: 422 kB / 0.793 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2399, allocations: 91.94 kB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.2399, allocations: 15.94 kB / 0.7931 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.2413, allocations: 0.528 MB / 0.7936 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2413, allocations: 4 kB / 0.7936 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.2413, allocations: 3.938 kB / 0.7936 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2413, allocations: 8 kB / 0.7936 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.2434, allocations: 0.7611 MB / 0.7943 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.2457, allocations: 1.273 MB / 0.7956 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005519/0.2512, allocations: 1.017 MB / 0.7966 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.2523, allocations: 399.3 kB / 0.797 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2523, allocations: 3.984 kB / 0.797 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.2536, allocations: 0.5363 MB / 0.7975 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.905e-06/0.2536, allocations: 0 / 0.7975 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003294/0.2569, allocations: 1.176 MB / 0.7986 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.257, allocations: 59.41 kB / 0.7987 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.2576, allocations: 0.5213 MB / 0.7992 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.2577, allocations: 33.7 kB / 0.7992 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.2578, allocations: 200.4 kB / 0.7994 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.374e-05/0.2579, allocations: 63.11 kB / 0.7995 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.2581, allocations: 69.64 kB / 0.7995 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2583, allocations: 358.7 kB / 0.7999 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.2594, allocations: 476.5 kB / 0.8003 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.2606, allocations: 0.4957 MB / 0.8008 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.2626, allocations: 0.7481 MB / 0.8016 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2626, allocations: 0 / 0.8016 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002664/0.2653, allocations: 1.094 MB / 0.8026 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.2654, allocations: 45.62 kB / 0.8027 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2654, allocations: 4 kB / 0.8027 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.2654, allocations: 4 kB / 0.8027 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.2661, allocations: 83.89 kB / 0.8028 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2661, allocations: 8 kB / 0.8028 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.2667, allocations: 51.84 kB / 0.8028 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.2667, allocations: 19.97 kB / 0.8028 GB, free: 9.199 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.0003008/0.267, allocations: 217.7 kB / 0.803 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.2671, allocations: 47.47 kB / 0.8031 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.27e-05/0.2672, allocations: 47.92 kB / 0.8031 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2672, allocations: 7.984 kB / 0.8031 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2672, allocations: 0 / 0.8031 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2672, allocations: 3.938 kB / 0.8031 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.2679, allocations: 0.6416 MB / 0.8038 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.268, allocations: 0 / 0.8038 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.2686, allocations: 99.77 kB / 0.8039 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2686, allocations: 0 / 0.8039 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.2686, allocations: 11.98 kB / 0.8039 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2686, allocations: 0 / 0.8039 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2687, allocations: 4 kB / 0.8039 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.2708, allocations: 0.832 MB / 0.8047 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.2711, allocations: 196.4 kB / 0.8049 GB, free: 7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.2711, allocations: 7.984 kB / 0.8049 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.2717, allocations: 63.92 kB / 0.8049 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2718, allocations: 23.97 kB / 0.805 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.2719, allocations: 11.98 kB / 0.805 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004214/0.2723, allocations: 387.1 kB / 0.8053 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2723, allocations: 3.938 kB / 0.8054 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000415/0.2727, allocations: 107.9 kB / 0.8055 GB, free: 6.406 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.0004419/0.2732, allocations: 163.8 kB / 0.8056 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002377/0.2756, allocations: 0.9661 MB / 0.8066 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2756, allocations: 0 / 0.8066 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.2767, allocations: 423.6 kB / 0.807 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.2772, allocations: 85.84 kB / 0.807 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.2796, allocations: 1.056 MB / 0.8081 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.28, allocations: 0.8581 MB / 0.8089 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005437/0.2805, allocations: 138.9 kB / 0.809 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.2807, allocations: 39.41 kB / 0.8091 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.2807, allocations: 0 / 0.8091 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of Templates: time 0.01499/0.2957, allocations: 8.811 MB / 0.8177 GB, free: 9.949 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (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)