Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.254/2.254, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 182.2 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.317/2.317, allocations: 205.4 MB / 0.5767 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009744/0.0009739, allocations: 96.09 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006412/0.0006415, allocations: 15.25 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2057, allocations: 106.3 MB / 0.8991 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003503/0.2093, allocations: 2.481 MB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00361/0.213, allocations: 2.087 MB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.2132, allocations: 7.938 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009613/0.2142, allocations: 215 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.2144, allocations: 71.39 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.001555/0.216, allocations: 418.7 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.2165, allocations: 438.5 kB / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2167, allocations: 52.62 kB / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.2169, allocations: 187.5 kB / 0.9048 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.2172, allocations: 187.4 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.2173, allocations: 24 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005312/0.2179, allocations: 223.7 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.218, allocations: 147.6 kB / 0.9054 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.2182, allocations: 89.52 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000667/0.2188, allocations: 0.5692 MB / 0.906 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2188, allocations: 4 kB / 0.906 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.866e-06/0.2189, allocations: 3.938 kB / 0.906 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.2189, allocations: 3.938 kB / 0.9061 GB, free: 58.19 MB / 0.6042 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.001647/0.2205, allocations: 0.778 MB / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2206, allocations: 8.031 kB / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/0.224, allocations: 240.1 kB / 0.907 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007028/0.2247, allocations: 406.5 kB / 0.9074 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.2249, allocations: 79.94 kB / 0.9075 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.225, allocations: 12.38 kB / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.2271, allocations: 0.5598 MB / 0.9081 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2271, allocations: 0 / 0.9081 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.2272, allocations: 4 kB / 0.9081 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2272, allocations: 8 kB / 0.9081 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/0.2307, allocations: 0.8281 MB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.234, allocations: 1.277 MB / 0.9101 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009497/0.2435, allocations: 1.088 MB / 0.9112 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.2453, allocations: 424.6 kB / 0.9116 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.2453, allocations: 4 kB / 0.9116 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/0.2474, allocations: 0.5536 MB / 0.9122 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 4.478e-06/0.2474, allocations: 3.938 kB / 0.9122 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.00544/0.2528, allocations: 1.267 MB / 0.9134 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.2529, allocations: 59.41 kB / 0.9134 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.2537, allocations: 0.5096 MB / 0.9139 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.914e-05/0.2538, allocations: 37.7 kB / 0.914 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.254, allocations: 196.4 kB / 0.9142 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.2541, allocations: 71.08 kB / 0.9142 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.2542, allocations: 4 kB / 0.9142 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.2543, allocations: 354.8 kB / 0.9146 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.2561, allocations: 496.5 kB / 0.9151 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.2581, allocations: 0.5189 MB / 0.9156 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.2598, allocations: 469.3 kB / 0.916 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2599, allocations: 0 / 0.916 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.004058/0.2639, allocations: 1.141 MB / 0.9171 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.945e-05/0.264, allocations: 45.69 kB / 0.9172 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.264, allocations: 0 / 0.9172 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.2641, allocations: 4 kB / 0.9172 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.2652, allocations: 107.8 kB / 0.9173 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2652, allocations: 0 / 0.9173 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009454/0.2662, allocations: 83.72 kB / 0.9174 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.2662, allocations: 19.97 kB / 0.9174 GB, free: 46.32 MB / 0.6042 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 (22): * Single equations (assignments): 21 * 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.0003803/0.2666, allocations: 212.8 kB / 0.9176 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2667, allocations: 39.53 kB / 0.9176 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.993e-05/0.2669, allocations: 55.89 kB / 0.9177 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2669, allocations: 7.938 kB / 0.9177 GB, free: 46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2669, allocations: 0 / 0.9177 GB, free: 46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2669, allocations: 3.938 kB / 0.9177 GB, free: 46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008271/0.2677, allocations: 0.6491 MB / 0.9183 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.2678, allocations: 4 kB / 0.9183 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.2688, allocations: 107.8 kB / 0.9184 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2689, allocations: 0 / 0.9184 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.096e-05/0.2689, allocations: 11.98 kB / 0.9184 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.269, allocations: 0 / 0.9184 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.269, allocations: 0 / 0.9184 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.2725, allocations: 0.8943 MB / 0.9193 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.2729, allocations: 188.5 kB / 0.9195 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.273, allocations: 11.98 kB / 0.9195 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.274, allocations: 79.92 kB / 0.9196 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.2742, allocations: 27.89 kB / 0.9196 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.2742, allocations: 11.98 kB / 0.9196 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000578/0.2748, allocations: 387.1 kB / 0.92 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2748, allocations: 0 / 0.92 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005609/0.2754, allocations: 111.9 kB / 0.9201 GB, free: 43.45 MB / 0.6042 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 (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.0004921/0.2759, allocations: 143.2 kB / 0.9202 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00383/0.2798, allocations: 0.9942 MB / 0.9212 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2798, allocations: 0 / 0.9212 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.2817, allocations: 451.6 kB / 0.9216 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.2825, allocations: 89.84 kB / 0.9217 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.2861, allocations: 1.132 MB / 0.9228 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.2865, allocations: 0.8547 MB / 0.9236 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009635/0.2875, allocations: 130.9 kB / 0.9238 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.2878, allocations: 39.41 kB / 0.9238 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/0.2878, allocations: 0 / 0.9238 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.01878/0.3066, allocations: 7.954 MB / 0.9316 GB, free: 31.71 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)