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.000763/0.0007628, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00535/0.00535, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.45/1.45, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.689/1.689, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005072/0.0005072, allocations: 21.98 kB / 0.6743 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2544, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.00245/0.2569, allocations: 2.049 MB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.2595, allocations: 1.84 MB / 0.7917 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.2597, allocations: 4 kB / 0.7917 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007381/0.2604, allocations: 215.2 kB / 0.7919 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.2606, allocations: 55.55 kB / 0.792 GB, free: 7.379 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.001045/0.2616, allocations: 389.1 kB / 0.7923 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.2621, allocations: 386.7 kB / 0.7927 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2623, allocations: 36.39 kB / 0.7927 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.2624, allocations: 131.6 kB / 0.7929 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2627, allocations: 151.5 kB / 0.793 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.2627, allocations: 16 kB / 0.793 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.2631, allocations: 227.7 kB / 0.7932 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.2633, allocations: 111.7 kB / 0.7933 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.2635, allocations: 192.8 kB / 0.7935 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.2641, allocations: 0.5724 MB / 0.7941 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2641, allocations: 0 / 0.7941 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2641, allocations: 0 / 0.7941 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2641, allocations: 4 kB / 0.7941 GB, free: 5.195 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.001083/0.2652, allocations: 0.6596 MB / 0.7947 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2653, allocations: 8.031 kB / 0.7947 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.2669, allocations: 156.4 kB / 0.7949 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.2674, allocations: 378.2 kB / 0.7952 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.2675, allocations: 83.95 kB / 0.7953 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.2676, allocations: 7.938 kB / 0.7953 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.2687, allocations: 456 kB / 0.7958 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2687, allocations: 4 kB / 0.7958 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.2687, allocations: 4 kB / 0.7958 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.2687, allocations: 4 kB / 0.7958 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.2704, allocations: 0.6246 MB / 0.7964 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.2722, allocations: 1.058 MB / 0.7974 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004852/0.2771, allocations: 0.912 MB / 0.7983 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007788/0.2779, allocations: 328.7 kB / 0.7986 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.2779, allocations: 7.984 kB / 0.7986 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.279, allocations: 463 kB / 0.7991 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 2.805e-06/0.2791, allocations: 4 kB / 0.7991 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=16): time 0.00262/0.2817, allocations: 0.9763 MB / 0.8 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.2817, allocations: 55.41 kB / 0.8001 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.2823, allocations: 441.5 kB / 0.8005 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.2823, allocations: 33.7 kB / 0.8005 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.2825, allocations: 172 kB / 0.8007 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.2826, allocations: 55.28 kB / 0.8008 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.2826, allocations: 21.7 kB / 0.8008 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2828, allocations: 350.8 kB / 0.8011 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008988/0.2837, allocations: 400.6 kB / 0.8015 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008223/0.2845, allocations: 395.7 kB / 0.8019 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.2861, allocations: 0.6418 MB / 0.8025 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2861, allocations: 0 / 0.8025 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00201/0.2881, allocations: 0.9515 MB / 0.8034 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-05/0.2882, allocations: 37.69 kB / 0.8035 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2882, allocations: 0 / 0.8035 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2882, allocations: 0 / 0.8035 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.2887, allocations: 87.84 kB / 0.8035 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2887, allocations: 3.938 kB / 0.8035 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.2891, allocations: 51.86 kB / 0.8036 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.2892, allocations: 15.98 kB / 0.8036 GB, free: 11.16 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 (17): * Single equations (assignments): 16 * 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.0002559/0.2894, allocations: 190.7 kB / 0.8038 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.2895, allocations: 31.62 kB / 0.8038 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.2896, allocations: 35.47 kB / 0.8039 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2896, allocations: 4 kB / 0.8039 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2896, allocations: 3.938 kB / 0.8039 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2896, allocations: 0 / 0.8039 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.2902, allocations: 0.5515 MB / 0.8044 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2902, allocations: 3.938 kB / 0.8044 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.2906, allocations: 79.86 kB / 0.8045 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2906, allocations: 0 / 0.8045 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.2907, allocations: 7.984 kB / 0.8045 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2907, allocations: 0 / 0.8045 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2907, allocations: 3.938 kB / 0.8045 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.2924, allocations: 0.6956 MB / 0.8052 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.2926, allocations: 168.6 kB / 0.8053 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.2926, allocations: 7.984 kB / 0.8053 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.2931, allocations: 59.95 kB / 0.8054 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.2932, allocations: 19.91 kB / 0.8054 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.2932, allocations: 15.98 kB / 0.8054 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000351/0.2936, allocations: 323 kB / 0.8057 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2936, allocations: 0 / 0.8057 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003799/0.294, allocations: 84.23 kB / 0.8058 GB, free: 8.805 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 (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.0003873/0.2944, allocations: 157.5 kB / 0.806 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.2962, allocations: 0.8026 MB / 0.8068 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2962, allocations: 0 / 0.8068 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.297, allocations: 351.7 kB / 0.8071 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.2975, allocations: 69.44 kB / 0.8072 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.2993, allocations: 0.9101 MB / 0.808 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.2997, allocations: 0.8146 MB / 0.8088 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004145/0.3001, allocations: 94.25 kB / 0.8089 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3002, allocations: 35.41 kB / 0.809 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.3002, allocations: 4 kB / 0.809 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.01138/0.3116, allocations: 6.672 MB / 0.8155 GB, free: 14.95 MB / 0.6387 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: