Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.147/2.147, allocations: 391.2 MB / 407 MB, free: 10.8 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.001403/0.001403, allocations: 196 kB / 499.1 MB, free: 4.633 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.468/1.468, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.001049/0.001049, allocations: 106.8 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.39 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2805, 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.CoolingCapacityWaterCooled): time 0.003623/0.2841, allocations: 2.929 MB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.2868, allocations: 2.248 MB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.287, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007934/0.2879, allocations: 245 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.2881, allocations: 71.41 kB / 1.223 GB, free: 111.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.001075/0.2892, allocations: 433.7 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.2897, allocations: 0.4967 MB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2898, allocations: 56.66 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.2901, allocations: 183.5 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.2903, allocations: 203.2 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.2904, allocations: 28 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.2907, allocations: 227.7 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.2909, allocations: 151.6 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2911, allocations: 206.9 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.2917, allocations: 0.7322 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2918, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2918, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.2918, allocations: 4 kB / 1.226 GB, free: 109 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001293/0.2931, allocations: 0.8283 MB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2931, allocations: 19.92 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.2951, allocations: 232.1 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.2956, allocations: 426 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.521e-05/0.2957, allocations: 83.94 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.2958, allocations: 15.94 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.297, allocations: 0.5291 MB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.297, allocations: 4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.297, allocations: 4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.297, allocations: 7.938 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.2989, allocations: 0.7581 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.3009, allocations: 1.269 MB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004936/0.3058, allocations: 1.009 MB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000849/0.3067, allocations: 398.1 kB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.3067, allocations: 7.984 kB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.3078, allocations: 0.5389 MB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=21): time 2.204e-06/0.3078, allocations: 0 / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=21): time 0.0029/0.3107, allocations: 1.181 MB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3108, allocations: 55.41 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.3115, allocations: 0.5213 MB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.3115, allocations: 37.69 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.3117, allocations: 200.4 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.3118, allocations: 67.09 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.312, allocations: 65.66 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3121, allocations: 354.8 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.3132, allocations: 472.5 kB / 1.235 GB, free: 99.73 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.3143, allocations: 0.4916 MB / 1.235 GB, free: 99.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.3161, allocations: 0.7544 MB / 1.236 GB, free: 98.47 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3161, allocations: 3.938 kB / 1.236 GB, free: 98.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002393/0.3185, allocations: 1.088 MB / 1.237 GB, free: 97.36 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.3186, allocations: 41.62 kB / 1.237 GB, free: 97.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3186, allocations: 3.984 kB / 1.237 GB, free: 97.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.3186, allocations: 4 kB / 1.237 GB, free: 97.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/0.3192, allocations: 87.89 kB / 1.237 GB, free: 97.22 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3192, allocations: 7.938 kB / 1.237 GB, free: 97.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.3198, allocations: 63.78 kB / 1.237 GB, free: 97.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.3198, allocations: 11.98 kB / 1.237 GB, free: 97.14 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 (22): * Single equations (assignments): 21 * 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.0002976/0.3201, allocations: 218.9 kB / 1.238 GB, free: 96.92 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3202, allocations: 43.47 kB / 1.238 GB, free: 96.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3204, allocations: 51.92 kB / 1.238 GB, free: 96.82 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3204, allocations: 4 kB / 1.238 GB, free: 96.82 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3204, allocations: 0 / 1.238 GB, free: 96.82 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3204, allocations: 3.984 kB / 1.238 GB, free: 96.82 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.3209, allocations: 0.6492 MB / 1.238 GB, free: 96.12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.321, allocations: 0 / 1.238 GB, free: 96.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.3215, allocations: 95.77 kB / 1.238 GB, free: 96.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3215, allocations: 0 / 1.238 GB, free: 96.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.3216, allocations: 11.98 kB / 1.238 GB, free: 96.01 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3216, allocations: 4 kB / 1.238 GB, free: 96.01 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3216, allocations: 0 / 1.238 GB, free: 96.01 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/0.3247, allocations: 1.995 MB / 1.24 GB, free: 93.95 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.3249, allocations: 184.5 kB / 1.241 GB, free: 93.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.325, allocations: 7.984 kB / 1.241 GB, free: 93.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005577/0.3255, allocations: 63.92 kB / 1.241 GB, free: 93.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.3256, allocations: 23.91 kB / 1.241 GB, free: 93.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.3257, allocations: 19.97 kB / 1.241 GB, free: 93.64 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003276/0.326, allocations: 387.1 kB / 1.241 GB, free: 93.26 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.326, allocations: 0 / 1.241 GB, free: 93.26 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004718/0.3265, allocations: 100 kB / 1.241 GB, free: 93.16 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 (21): * Single equations (assignments): 19 * 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.0003654/0.3269, allocations: 160.3 kB / 1.241 GB, free: 93.01 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.3289, allocations: 0.9414 MB / 1.242 GB, free: 92.05 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3289, allocations: 0 / 1.242 GB, free: 92.05 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009606/0.3299, allocations: 427.6 kB / 1.243 GB, free: 91.64 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.3304, allocations: 85.83 kB / 1.243 GB, free: 91.55 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.3325, allocations: 1.326 MB / 1.244 GB, free: 90.19 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3327, allocations: 0.87 MB / 1.245 GB, free: 89.29 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004872/0.3332, allocations: 130.9 kB / 1.245 GB, free: 89.16 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.3334, allocations: 35.41 kB / 1.245 GB, free: 89.13 MB / 0.823 GB Notification: Performance of SimCode: time 3.61e-07/0.3334, allocations: 3.938 kB / 1.245 GB, free: 89.12 MB / 0.823 GB Notification: Performance of Templates: time 0.01172/0.3452, allocations: 8.503 MB / 1.253 GB, free: 80.74 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)