Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.13/2.13, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 187.4 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 111.6 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 53.81 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2632, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003676/0.2669, allocations: 2.402 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.2694, allocations: 1.859 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.2696, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.2703, allocations: 217 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.2705, allocations: 59.48 kB / 1.223 GB, free: 112.7 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.0009452/0.2714, allocations: 378.3 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.2718, allocations: 386.8 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.272, allocations: 44.36 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.2721, allocations: 139.6 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.2723, allocations: 151.5 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.2724, allocations: 19.94 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.2727, allocations: 231.7 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2728, allocations: 115.6 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.273, allocations: 155.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.2735, allocations: 0.5882 MB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2736, allocations: 0 / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2736, allocations: 0 / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2736, allocations: 4 kB / 1.225 GB, free: 110.5 MB / 0.823 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.001118/0.2747, allocations: 0.7021 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2748, allocations: 19.97 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.2764, allocations: 156.4 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.2768, allocations: 374.2 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.676e-05/0.2769, allocations: 75.94 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.277, allocations: 11.94 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.2778, allocations: 433.3 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2779, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.2779, allocations: 4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2779, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.2792, allocations: 0.5867 MB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.2808, allocations: 1.05 MB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004476/0.2853, allocations: 0.8495 MB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.2859, allocations: 304.7 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.286, allocations: 8 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008408/0.2868, allocations: 450.9 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 2.835e-06/0.2868, allocations: 0 / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.002184/0.289, allocations: 0.9164 MB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.2891, allocations: 55.41 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.2895, allocations: 441.5 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.2895, allocations: 33.7 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.2896, allocations: 180 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.2897, allocations: 43.36 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.2898, allocations: 53.67 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.2899, allocations: 346.8 kB / 1.232 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.2906, allocations: 380.6 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.2914, allocations: 375.7 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.2927, allocations: 0.601 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2927, allocations: 0 / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00169/0.2944, allocations: 0.9058 MB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.2944, allocations: 41.69 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2945, allocations: 0 / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2945, allocations: 4 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.2949, allocations: 67.84 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2949, allocations: 7.938 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.2953, allocations: 47.8 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.2953, allocations: 11.98 kB / 1.234 GB, free: 100.8 MB / 0.823 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.0001837/0.2955, allocations: 186.4 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.2956, allocations: 35.56 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.2957, allocations: 43.47 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2957, allocations: 0 / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2957, allocations: 3.938 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2957, allocations: 3.984 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.2961, allocations: 0.5438 MB / 1.235 GB, free: 99.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2961, allocations: 4 kB / 1.235 GB, free: 99.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.2966, allocations: 63.86 kB / 1.235 GB, free: 99.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2966, allocations: 3.984 kB / 1.235 GB, free: 99.82 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.2966, allocations: 11.98 kB / 1.235 GB, free: 99.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2966, allocations: 0 / 1.235 GB, free: 99.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2966, allocations: 3.938 kB / 1.235 GB, free: 99.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.2989, allocations: 1.673 MB / 1.236 GB, free: 98.07 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.2991, allocations: 172.5 kB / 1.237 GB, free: 97.88 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.2992, allocations: 4 kB / 1.237 GB, free: 97.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.2996, allocations: 47.94 kB / 1.237 GB, free: 97.83 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.2997, allocations: 23.97 kB / 1.237 GB, free: 97.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.2998, allocations: 7.984 kB / 1.237 GB, free: 97.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002511/0.3, allocations: 319.1 kB / 1.237 GB, free: 97.48 MB / 0.823 GB Notification: Performance of sort global known variables: time 3e-07/0.3, allocations: 0 / 1.237 GB, free: 97.48 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004347/0.3005, allocations: 84.25 kB / 1.237 GB, free: 97.4 MB / 0.823 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.0003883/0.3009, allocations: 155.5 kB / 1.237 GB, free: 97.25 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.3024, allocations: 0.7605 MB / 1.238 GB, free: 96.48 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3024, allocations: 0 / 1.238 GB, free: 96.48 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.3032, allocations: 335.6 kB / 1.238 GB, free: 96.15 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3036, allocations: 83.81 kB / 1.238 GB, free: 96.07 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.3052, allocations: 1.046 MB / 1.239 GB, free: 94.99 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.3054, allocations: 0.8185 MB / 1.24 GB, free: 94.14 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000388/0.3058, allocations: 94.23 kB / 1.24 GB, free: 94.05 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.306, allocations: 31.41 kB / 1.24 GB, free: 94.03 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.306, allocations: 8 kB / 1.24 GB, free: 94.02 MB / 0.823 GB Notification: Performance of Templates: time 0.01066/0.3166, allocations: 6.921 MB / 1.247 GB, free: 87.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)