Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.547/2.547, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001366/0.001366, allocations: 178.1 kB / 371 MB, free: 10.85 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.128/2.128, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009641/0.0009639, allocations: 92.55 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004861, allocations: 13.33 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2444, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003855/0.2484, allocations: 2.464 MB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00381/0.2522, allocations: 2.083 MB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.2526, allocations: 0 / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.2537, allocations: 230.9 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.2539, allocations: 63.47 kB / 0.9831 GB, free: 23.4 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.001677/0.2556, allocations: 431.6 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.2563, allocations: 426.6 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.2565, allocations: 49 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.2567, allocations: 183.5 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.257, allocations: 187.4 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.2571, allocations: 24 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006551/0.2578, allocations: 231.6 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.258, allocations: 139.7 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.2582, allocations: 89.52 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008567/0.259, allocations: 0.5806 MB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2591, allocations: 3.938 kB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2591, allocations: 0 / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.2591, allocations: 0 / 0.9853 GB, free: 21.09 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.002003/0.2611, allocations: 0.7738 MB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.2612, allocations: 12.02 kB / 0.9861 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.2648, allocations: 255.1 kB / 0.9864 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.2658, allocations: 401.1 kB / 0.9867 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.266, allocations: 79.38 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.772e-05/0.2662, allocations: 16 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.2684, allocations: 0.5532 MB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.2685, allocations: 0 / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.2686, allocations: 15.98 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2686, allocations: 3.953 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/0.2722, allocations: 0.8236 MB / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.2756, allocations: 1.273 MB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009311/0.285, allocations: 1.092 MB / 0.9905 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.2868, allocations: 425.4 kB / 0.9909 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.2869, allocations: 4 kB / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001986/0.2889, allocations: 0.5589 MB / 0.9915 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 3.938e-06/0.2889, allocations: 0 / 0.9915 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.00539/0.2943, allocations: 1.271 MB / 0.9927 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.2945, allocations: 55.41 kB / 0.9927 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.2952, allocations: 0.5135 MB / 0.9932 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.2954, allocations: 37.69 kB / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.2956, allocations: 200.4 kB / 0.9935 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2957, allocations: 67.09 kB / 0.9935 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.2957, allocations: 4 kB / 0.9935 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2959, allocations: 362.8 kB / 0.9939 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.2977, allocations: 492.5 kB / 0.9944 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.2996, allocations: 0.5286 MB / 0.9949 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.3014, allocations: 455.7 kB / 0.9953 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3015, allocations: 4 kB / 0.9953 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00409/0.3056, allocations: 1.139 MB / 0.9964 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.521e-05/0.3057, allocations: 45.69 kB / 0.9965 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3057, allocations: 0 / 0.9965 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.3057, allocations: 0 / 0.9965 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.3068, allocations: 103.8 kB / 0.9966 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3068, allocations: 3.953 kB / 0.9966 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009549/0.3078, allocations: 87.7 kB / 0.9967 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.3079, allocations: 19.98 kB / 0.9967 GB, free: 9.211 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 (22): * Single equations (assignments): 21 * 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.0003967/0.3083, allocations: 209.8 kB / 0.9969 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3084, allocations: 47.44 kB / 0.9969 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.3085, allocations: 51.91 kB / 0.997 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3086, allocations: 8 kB / 0.997 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3086, allocations: 0 / 0.997 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3086, allocations: 3.953 kB / 0.997 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.3095, allocations: 0.6415 MB / 0.9976 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3095, allocations: 4 kB / 0.9976 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.3106, allocations: 103.8 kB / 0.9977 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.3106, allocations: 4 kB / 0.9977 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.3107, allocations: 15.97 kB / 0.9977 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3107, allocations: 0 / 0.9977 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3107, allocations: 3.953 kB / 0.9977 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.3143, allocations: 0.8867 MB / 0.9986 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.3147, allocations: 192.4 kB / 0.9988 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3148, allocations: 8 kB / 0.9988 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009825/0.3158, allocations: 75.92 kB / 0.9989 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.316, allocations: 35.91 kB / 0.9989 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.316, allocations: 7.984 kB / 0.9989 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005997/0.3166, allocations: 387.1 kB / 0.9993 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3167, allocations: 0 / 0.9993 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006286/0.3173, allocations: 104 kB / 0.9994 GB, free: 6.348 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 (21): * Single equations (assignments): 19 * 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.0005041/0.3178, allocations: 161.9 kB / 0.9995 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003815/0.3216, allocations: 0.9938 MB / 1 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3217, allocations: 0 / 1 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.3235, allocations: 447.6 kB / 1.001 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.3244, allocations: 93.95 kB / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.3279, allocations: 1.13 MB / 1.002 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.3283, allocations: 0.8544 MB / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009912/0.3293, allocations: 130.9 kB / 1.003 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.3296, allocations: 39.41 kB / 1.003 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/0.3296, allocations: 0 / 1.003 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of Templates: time 0.02292/0.3525, allocations: 7.954 MB / 1.011 GB, free: 10.59 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)