Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.622/2.622, allocations: 287.5 MB / 302.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 182 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 82.42 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006763/0.0006764, allocations: 18.06 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2288, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002827/0.2317, allocations: 1.981 MB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.2348, allocations: 1.717 MB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.2351, allocations: 4 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008924/0.236, allocations: 199 kB / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.2362, allocations: 59.48 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.001488/0.2377, allocations: 373.9 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.2383, allocations: 338.8 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2384, allocations: 32.39 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.2386, allocations: 139.6 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.2388, allocations: 139.6 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.13e-05/0.2389, allocations: 19.94 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.2396, allocations: 219.7 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.2398, allocations: 107.7 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2399, allocations: 81.52 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006138/0.2405, allocations: 463.1 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2405, allocations: 4 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2405, allocations: 0 / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2406, allocations: 0 / 0.9841 GB, free: 22.5 MB / 0.6198 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.001371/0.2419, allocations: 0.6555 MB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.242, allocations: 12.02 kB / 0.9847 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.2447, allocations: 179.3 kB / 0.9849 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/0.2454, allocations: 357.2 kB / 0.9852 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.2456, allocations: 71.39 kB / 0.9853 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.2456, allocations: 8 kB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.2473, allocations: 459.5 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2473, allocations: 0 / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.2474, allocations: 0 / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2474, allocations: 11.94 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.25, allocations: 0.6245 MB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.2527, allocations: 1.047 MB / 0.9874 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008556/0.2613, allocations: 0.912 MB / 0.9883 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.2626, allocations: 336.6 kB / 0.9886 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.2627, allocations: 0 / 0.9886 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/0.2643, allocations: 466.9 kB / 0.989 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.537e-06/0.2643, allocations: 0 / 0.989 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.004061/0.2684, allocations: 0.9753 MB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.2685, allocations: 51.41 kB / 0.99 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.2691, allocations: 437.6 kB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.643e-05/0.2692, allocations: 29.7 kB / 0.9905 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.2694, allocations: 184 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.2695, allocations: 39.36 kB / 0.9907 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.2695, allocations: 8 kB / 0.9907 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.2696, allocations: 350.8 kB / 0.991 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.2711, allocations: 400.6 kB / 0.9914 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.2725, allocations: 391.7 kB / 0.9918 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.2739, allocations: 382.9 kB / 0.9922 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2739, allocations: 0 / 0.9922 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003215/0.2771, allocations: 0.9515 MB / 0.9931 GB, free: 13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.2772, allocations: 37.69 kB / 0.9931 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2772, allocations: 0 / 0.9931 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.2773, allocations: 4 kB / 0.9931 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.2781, allocations: 83.91 kB / 0.9932 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2781, allocations: 3.938 kB / 0.9932 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/0.2788, allocations: 55.89 kB / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.2789, allocations: 11.98 kB / 0.9933 GB, free: 12.8 MB / 0.6198 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.0003262/0.2793, allocations: 193.8 kB / 0.9935 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.2794, allocations: 35.53 kB / 0.9935 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/0.2795, allocations: 35.47 kB / 0.9935 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2795, allocations: 8 kB / 0.9935 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2795, allocations: 0 / 0.9935 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2795, allocations: 3.984 kB / 0.9935 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.2802, allocations: 0.5476 MB / 0.9941 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2802, allocations: 0 / 0.9941 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000789/0.281, allocations: 83.8 kB / 0.9942 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.2811, allocations: 0 / 0.9942 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.2811, allocations: 7.984 kB / 0.9942 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2811, allocations: 3.938 kB / 0.9942 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2811, allocations: 3.984 kB / 0.9942 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.2839, allocations: 0.7013 MB / 0.9949 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.2842, allocations: 160.7 kB / 0.995 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.2843, allocations: 15.98 kB / 0.995 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007887/0.2851, allocations: 63.94 kB / 0.9951 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.2853, allocations: 19.97 kB / 0.9951 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.2853, allocations: 7.984 kB / 0.9951 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004782/0.2858, allocations: 315.1 kB / 0.9954 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2858, allocations: 0 / 0.9954 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000539/0.2864, allocations: 88.19 kB / 0.9955 GB, free: 10.43 MB / 0.6198 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.0004889/0.2869, allocations: 150.3 kB / 0.9956 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002905/0.2898, allocations: 0.8011 MB / 0.9964 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2899, allocations: 0 / 0.9964 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.2912, allocations: 339.8 kB / 0.9968 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.292, allocations: 81.34 kB / 0.9968 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.2945, allocations: 0.8798 MB / 0.9977 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2949, allocations: 0.8068 MB / 0.9985 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008036/0.2957, allocations: 102.2 kB / 0.9986 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.2959, allocations: 35.41 kB / 0.9986 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of SimCode: time 1.242e-06/0.2959, allocations: 0 / 0.9986 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of Templates: time 0.01646/0.3124, allocations: 6.477 MB / 1.005 GB, free: 0.8008 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)