Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008486/0.0008485, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007833/0.0007834, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.769/1.769, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004956/0.0004956, allocations: 20.97 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2279, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003927/0.2319, allocations: 1.986 MB / 0.7892 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003957/0.2359, allocations: 1.724 MB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.2362, allocations: 7.938 kB / 0.7909 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009147/0.2371, allocations: 191 kB / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.2374, allocations: 51.55 kB / 0.7912 GB, free: 7.934 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.001058/0.2384, allocations: 369.8 kB / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.2389, allocations: 334.8 kB / 0.7918 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2391, allocations: 40.33 kB / 0.7919 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.2393, allocations: 135.7 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2395, allocations: 143.5 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.2396, allocations: 20 kB / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.24, allocations: 219.7 kB / 0.7924 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.2402, allocations: 99.7 kB / 0.7925 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.2403, allocations: 81.58 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.2408, allocations: 471.1 kB / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2408, allocations: 0 / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.386e-06/0.2408, allocations: 4 kB / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.2408, allocations: 0 / 0.793 GB, free: 6.055 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001109/0.2419, allocations: 0.6555 MB / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.242, allocations: 12.02 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.2435, allocations: 167.4 kB / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.244, allocations: 353.3 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.2442, allocations: 75.38 kB / 0.7942 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.2442, allocations: 8 kB / 0.7942 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.2451, allocations: 461.2 kB / 0.7947 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2452, allocations: 3.984 kB / 0.7947 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.2452, allocations: 0 / 0.7947 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2452, allocations: 4 kB / 0.7947 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.2466, allocations: 0.6322 MB / 0.7953 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.2484, allocations: 1.047 MB / 0.7963 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00433/0.2527, allocations: 0.9157 MB / 0.7972 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/0.2534, allocations: 332.7 kB / 0.7975 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2534, allocations: 3.938 kB / 0.7975 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008814/0.2543, allocations: 469.8 kB / 0.798 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.2543, allocations: 0 / 0.798 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00218/0.2565, allocations: 0.9772 MB / 0.7989 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2566, allocations: 55.41 kB / 0.799 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.257, allocations: 433.6 kB / 0.7994 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.2571, allocations: 33.7 kB / 0.7994 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2572, allocations: 168 kB / 0.7996 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.2573, allocations: 51.34 kB / 0.7996 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.2573, allocations: 4 kB / 0.7996 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2574, allocations: 346.8 kB / 0.8 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007827/0.2582, allocations: 408.5 kB / 0.8004 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.259, allocations: 390.7 kB / 0.8007 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.2597, allocations: 381.4 kB / 0.8011 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2597, allocations: 0 / 0.8011 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001704/0.2614, allocations: 0.9514 MB / 0.802 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.2615, allocations: 41.69 kB / 0.8021 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2615, allocations: 0 / 0.8021 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2615, allocations: 0 / 0.8021 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.2619, allocations: 75.92 kB / 0.8021 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2619, allocations: 0 / 0.8021 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.2623, allocations: 55.89 kB / 0.8022 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.2623, allocations: 15.97 kB / 0.8022 GB, free: 12.36 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 ($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 (17): * Single equations (assignments): 16 * 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.0002372/0.2626, allocations: 192.8 kB / 0.8024 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.2626, allocations: 35.53 kB / 0.8024 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.2627, allocations: 47.45 kB / 0.8025 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2627, allocations: 4 kB / 0.8025 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2627, allocations: 0 / 0.8025 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2628, allocations: 0 / 0.8025 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.2633, allocations: 0.5516 MB / 0.803 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2633, allocations: 4 kB / 0.803 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.2638, allocations: 71.92 kB / 0.8031 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2638, allocations: 0 / 0.8031 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.2638, allocations: 11.98 kB / 0.8031 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2638, allocations: 0 / 0.8031 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2638, allocations: 0 / 0.8031 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.2653, allocations: 0.7057 MB / 0.8038 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.2655, allocations: 160.7 kB / 0.8039 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.2655, allocations: 12 kB / 0.8039 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.2659, allocations: 59.94 kB / 0.804 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.266, allocations: 19.97 kB / 0.804 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.2661, allocations: 7.984 kB / 0.804 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003121/0.2664, allocations: 323 kB / 0.8043 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2664, allocations: 0 / 0.8043 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003461/0.2667, allocations: 88.17 kB / 0.8044 GB, free: 9.992 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 (16): * Single equations (assignments): 14 * 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.00037/0.2671, allocations: 159.4 kB / 0.8046 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.2687, allocations: 0.7958 MB / 0.8054 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2687, allocations: 0 / 0.8054 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/0.2694, allocations: 347.7 kB / 0.8057 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.2699, allocations: 77.45 kB / 0.8058 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.2714, allocations: 0.8876 MB / 0.8066 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.2717, allocations: 0.8067 MB / 0.8074 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004078/0.2722, allocations: 98.25 kB / 0.8075 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.2723, allocations: 39.41 kB / 0.8075 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of SimCode: time 5.72e-07/0.2723, allocations: 0 / 0.8075 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of Templates: time 0.01064/0.2829, allocations: 6.472 MB / 0.8139 GB, free: 368 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) Environment - environmentSimulation: