Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.79/1.79, allocations: 288.4 MB / 303.4 MB, free: 8.227 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.001104/0.001104, allocations: 184.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0008001/0.0007999, allocations: 98.34 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006095/0.0006097, allocations: 16.89 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2632, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002402/0.2657, allocations: 1.98 MB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.2683, allocations: 1.724 MB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.2686, allocations: 0 / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.2693, allocations: 207 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2695, allocations: 55.48 kB / 0.9835 GB, free: 23.67 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.001172/0.2707, allocations: 371.5 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.2712, allocations: 330.8 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2714, allocations: 48.25 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.2716, allocations: 135.6 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.2719, allocations: 139.5 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.356e-05/0.272, allocations: 20 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.2724, allocations: 215.7 kB / 0.9847 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.2726, allocations: 111.7 kB / 0.9848 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.332e-05/0.2727, allocations: 77.52 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.2731, allocations: 463.1 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2731, allocations: 0 / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2731, allocations: 0 / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.2732, allocations: 0 / 0.9853 GB, free: 21.8 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.001198/0.2744, allocations: 0.6633 MB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2744, allocations: 16.02 kB / 0.986 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.2761, allocations: 163.4 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.2767, allocations: 357.2 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.2768, allocations: 71.39 kB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.2768, allocations: 8 kB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009493/0.2778, allocations: 458.5 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2778, allocations: 0 / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.2779, allocations: 4 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2779, allocations: 0 / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.2793, allocations: 0.6322 MB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.281, allocations: 1.054 MB / 0.9886 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004905/0.2859, allocations: 0.912 MB / 0.9895 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006894/0.2866, allocations: 328.7 kB / 0.9898 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2867, allocations: 7.984 kB / 0.9898 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008867/0.2876, allocations: 468.4 kB / 0.9903 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.807e-06/0.2876, allocations: 0 / 0.9903 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002283/0.2899, allocations: 0.9773 MB / 0.9912 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.2899, allocations: 55.41 kB / 0.9913 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.2904, allocations: 429.6 kB / 0.9917 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.2904, allocations: 37.64 kB / 0.9917 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2906, allocations: 172 kB / 0.9919 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.2906, allocations: 43.36 kB / 0.9919 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.2906, allocations: 4 kB / 0.9919 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.2907, allocations: 350.8 kB / 0.9923 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007835/0.2915, allocations: 408.5 kB / 0.9927 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.2923, allocations: 395.7 kB / 0.993 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.293, allocations: 374.9 kB / 0.9934 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.293, allocations: 0 / 0.9934 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001767/0.2948, allocations: 0.9529 MB / 0.9943 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.2949, allocations: 41.69 kB / 0.9944 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2949, allocations: 3.938 kB / 0.9944 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2949, allocations: 0 / 0.9944 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.2953, allocations: 75.92 kB / 0.9944 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2954, allocations: 3.938 kB / 0.9944 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.2958, allocations: 51.89 kB / 0.9945 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.2958, allocations: 19.97 kB / 0.9945 GB, free: 12.09 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.0002249/0.2961, allocations: 194.4 kB / 0.9947 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.2961, allocations: 39.52 kB / 0.9947 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.2962, allocations: 39.47 kB / 0.9948 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2962, allocations: 0 / 0.9948 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.2962, allocations: 0 / 0.9948 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.2962, allocations: 0 / 0.9948 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.2967, allocations: 0.5478 MB / 0.9953 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2967, allocations: 4 kB / 0.9953 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.2971, allocations: 79.8 kB / 0.9954 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2972, allocations: 4 kB / 0.9954 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.2972, allocations: 7.984 kB / 0.9954 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2972, allocations: 0 / 0.9954 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2972, allocations: 0 / 0.9954 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.2987, allocations: 0.7045 MB / 0.9961 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.2988, allocations: 160.7 kB / 0.9962 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.2989, allocations: 8 kB / 0.9962 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.2993, allocations: 59.94 kB / 0.9963 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.2994, allocations: 19.97 kB / 0.9963 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.2995, allocations: 11.98 kB / 0.9963 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002695/0.2997, allocations: 315.1 kB / 0.9966 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2997, allocations: 0 / 0.9966 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003352/0.3001, allocations: 88.17 kB / 0.9967 GB, free: 9.73 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.0004012/0.3005, allocations: 158.5 kB / 0.9969 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.3021, allocations: 0.795 MB / 0.9976 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3021, allocations: 3.938 kB / 0.9977 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/0.3028, allocations: 343.8 kB / 0.998 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.3033, allocations: 82.09 kB / 0.9981 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.3048, allocations: 0.8836 MB / 0.9989 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.305, allocations: 0.8146 MB / 0.9997 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000403/0.3054, allocations: 90.25 kB / 0.9998 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.3056, allocations: 27.42 kB / 0.9998 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3056, allocations: 4 kB / 0.9998 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of Templates: time 0.01004/0.3156, allocations: 6.5 MB / 1.006 GB, free: 96 kB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)