Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001321/0.00132, allocations: 188.5 kB / 376.9 MB, free: 1.812 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.361/1.361, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 98.94 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2194, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.0045/0.2239, allocations: 2.934 MB / 0.9851 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003492/0.2274, allocations: 2.26 MB / 0.9873 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.2277, allocations: 0 / 0.9873 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008955/0.2286, allocations: 251.1 kB / 0.9876 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.2289, allocations: 67.36 kB / 0.9876 GB, free: 4.82 MB / 0.7136 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.001298/0.2303, allocations: 447.2 kB / 0.988 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006949/0.231, allocations: 490.6 kB / 0.9885 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2311, allocations: 52.72 kB / 0.9886 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.2314, allocations: 187.4 kB / 0.9887 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.2317, allocations: 203.2 kB / 0.9889 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.846e-05/0.2318, allocations: 28 kB / 0.989 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.2323, allocations: 231.7 kB / 0.9892 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.2325, allocations: 151.6 kB / 0.9893 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.2327, allocations: 202.9 kB / 0.9895 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008814/0.2336, allocations: 0.7283 MB / 0.9902 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2336, allocations: 0 / 0.9902 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2336, allocations: 0 / 0.9902 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.2336, allocations: 0 / 0.9902 GB, free: 2.137 MB / 0.7136 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.001525/0.2352, allocations: 0.8464 MB / 0.9911 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2352, allocations: 11.97 kB / 0.9911 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.2374, allocations: 232.1 kB / 0.9913 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.238, allocations: 429.9 kB / 0.9917 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.2381, allocations: 79.94 kB / 0.9918 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.2382, allocations: 19.94 kB / 0.9918 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.2396, allocations: 0.5286 MB / 0.9923 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2396, allocations: 0 / 0.9923 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.2396, allocations: 8 kB / 0.9923 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.2397, allocations: 3.984 kB / 0.9923 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.2419, allocations: 0.7767 MB / 0.9931 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.2443, allocations: 1.261 MB / 0.9943 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005318/0.2496, allocations: 1.013 MB / 0.9953 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009894/0.2507, allocations: 404.5 kB / 0.9957 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.2507, allocations: 11.98 kB / 0.9957 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.252, allocations: 0.5251 MB / 0.9962 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 2.635e-06/0.252, allocations: 0 / 0.9962 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.003278/0.2553, allocations: 1.184 MB / 0.9974 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2553, allocations: 55.41 kB / 0.9974 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.256, allocations: 0.5135 MB / 0.9979 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.256, allocations: 33.7 kB / 0.998 GB, free: 10 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.2562, allocations: 204.4 kB / 0.9981 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.2563, allocations: 67.09 kB / 0.9982 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.2565, allocations: 69.66 kB / 0.9983 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2566, allocations: 354.8 kB / 0.9986 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.2578, allocations: 468.5 kB / 0.9991 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.259, allocations: 0.4935 MB / 0.9995 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.261, allocations: 0.752 MB / 1 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.261, allocations: 0 / 1 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002531/0.2636, allocations: 1.093 MB / 1.001 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.2636, allocations: 45.62 kB / 1.001 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2636, allocations: 0 / 1.001 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2636, allocations: 0 / 1.001 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.2643, allocations: 95.88 kB / 1.001 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.2643, allocations: 7.938 kB / 1.001 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.2648, allocations: 59.84 kB / 1.002 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.2649, allocations: 11.98 kB / 1.002 GB, free: 6.258 MB / 0.7292 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.0002901/0.2652, allocations: 217.8 kB / 1.002 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.961e-05/0.2653, allocations: 47.45 kB / 1.002 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.535e-05/0.2654, allocations: 43.92 kB / 1.002 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2654, allocations: 4 kB / 1.002 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2654, allocations: 0 / 1.002 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2654, allocations: 4 kB / 1.002 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006348/0.266, allocations: 0.6493 MB / 1.002 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2661, allocations: 0 / 1.002 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/0.2667, allocations: 91.75 kB / 1.003 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2667, allocations: 8 kB / 1.003 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.2667, allocations: 11.98 kB / 1.003 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2667, allocations: 0 / 1.003 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2667, allocations: 0 / 1.003 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/0.2704, allocations: 1.996 MB / 1.005 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.2707, allocations: 188.5 kB / 1.005 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.2708, allocations: 15.98 kB / 1.005 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.2713, allocations: 63.92 kB / 1.005 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.2714, allocations: 23.91 kB / 1.005 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.2715, allocations: 11.98 kB / 1.005 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004103/0.2719, allocations: 395 kB / 1.005 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2719, allocations: 0 / 1.005 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005029/0.2724, allocations: 99.91 kB / 1.005 GB, free: 2.27 MB / 0.7292 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.0003798/0.2728, allocations: 157.5 kB / 1.005 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00234/0.2752, allocations: 0.9401 MB / 1.006 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2752, allocations: 0 / 1.006 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.2762, allocations: 419.6 kB / 1.007 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.2768, allocations: 93.78 kB / 1.007 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.2793, allocations: 1.318 MB / 1.008 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.2798, allocations: 0.8622 MB / 1.009 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005638/0.2804, allocations: 134.9 kB / 1.009 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.2806, allocations: 39.41 kB / 1.009 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.2806, allocations: 0 / 1.009 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.01473/0.2953, allocations: 8.502 MB / 1.017 GB, free: 5.797 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)