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.CoolingCapacityWaterCooled.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.845/1.845, allocations: 288.4 MB / 303.3 MB, free: 8.188 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.001/0.001, allocations: 190.9 kB / 372 MB, free: 10.3 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.497/1.497, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0009028/0.0009026, allocations: 94.28 kB / 0.744 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005139, allocations: 16.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 115.3 MB / 0.9797 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002758/0.2251, allocations: 2.459 MB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.2277, allocations: 2.079 MB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.2279, allocations: 0 / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007527/0.2287, allocations: 226.8 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.2289, allocations: 67.47 kB / 0.9844 GB, free: 22.73 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.001098/0.23, allocations: 423.9 kB / 0.9848 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004945/0.2305, allocations: 438.5 kB / 0.9852 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2307, allocations: 48.94 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.2309, allocations: 179.5 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.2312, allocations: 187.4 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.03e-05/0.2313, allocations: 24 kB / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.2317, allocations: 231.6 kB / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.2318, allocations: 139.6 kB / 0.986 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.2319, allocations: 93.45 kB / 0.9861 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.2325, allocations: 0.5767 MB / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2325, allocations: 0 / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2325, allocations: 0 / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.2325, allocations: 0 / 0.9866 GB, free: 20.43 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.001258/0.2338, allocations: 0.7776 MB / 0.9874 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2338, allocations: 16.02 kB / 0.9874 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.213e-05/0.2339, allocations: 46.56 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.236, allocations: 247.2 kB / 0.9877 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/0.2367, allocations: 401.1 kB / 0.9881 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.2368, allocations: 87.31 kB / 0.9881 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.2369, allocations: 12 kB / 0.9882 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.2381, allocations: 0.5567 MB / 0.9887 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2381, allocations: 0 / 0.9887 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.2381, allocations: 4 kB / 0.9887 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2382, allocations: 8 kB / 0.9887 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.2401, allocations: 0.8274 MB / 0.9895 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.2422, allocations: 1.284 MB / 0.9908 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005157/0.2474, allocations: 1.084 MB / 0.9918 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/0.2484, allocations: 424.6 kB / 0.9922 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.2484, allocations: 7.984 kB / 0.9922 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.2496, allocations: 0.5645 MB / 0.9928 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.655e-06/0.2496, allocations: 0 / 0.9928 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.003043/0.2527, allocations: 1.259 MB / 0.994 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.2527, allocations: 63.36 kB / 0.9941 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.2533, allocations: 0.5174 MB / 0.9946 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.329e-05/0.2534, allocations: 33.7 kB / 0.9946 GB, free: 12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.2536, allocations: 200.4 kB / 0.9948 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.2537, allocations: 59.11 kB / 0.9949 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.2537, allocations: 8 kB / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.2538, allocations: 354.8 kB / 0.9952 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009685/0.2548, allocations: 0.4926 MB / 0.9957 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009846/0.2558, allocations: 0.517 MB / 0.9962 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009505/0.2567, allocations: 460.1 kB / 0.9966 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2567, allocations: 0 / 0.9966 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002151/0.2589, allocations: 1.139 MB / 0.9978 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.259, allocations: 45.69 kB / 0.9978 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.259, allocations: 0 / 0.9978 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.259, allocations: 0 / 0.9978 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.2596, allocations: 107.8 kB / 0.9979 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2596, allocations: 7.953 kB / 0.9979 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.2602, allocations: 83.7 kB / 0.998 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.2602, allocations: 15.98 kB / 0.998 GB, free: 8.492 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.0002815/0.2605, allocations: 209.8 kB / 0.9982 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.2606, allocations: 43.44 kB / 0.9982 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.219e-05/0.2607, allocations: 55.84 kB / 0.9983 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2607, allocations: 4 kB / 0.9983 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2607, allocations: 7.938 kB / 0.9983 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2608, allocations: 3.953 kB / 0.9983 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.2613, allocations: 0.6456 MB / 0.9989 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2613, allocations: 4 kB / 0.9989 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.2619, allocations: 103.9 kB / 0.999 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2619, allocations: 0 / 0.999 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.262, allocations: 15.97 kB / 0.9991 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.262, allocations: 0 / 0.9991 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.262, allocations: 3.953 kB / 0.9991 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.2639, allocations: 0.8896 MB / 0.9999 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.2642, allocations: 192.4 kB / 1 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.2642, allocations: 8 kB / 1 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/0.2648, allocations: 79.92 kB / 1 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.2649, allocations: 23.95 kB / 1 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.265, allocations: 15.94 kB / 1 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004251/0.2654, allocations: 391.1 kB / 1.001 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2654, allocations: 0 / 1.001 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004534/0.2659, allocations: 99.98 kB / 1.001 GB, free: 5.629 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.002478/0.2683, allocations: 1.487 MB / 1.002 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.2704, allocations: 0.9948 MB / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2704, allocations: 0 / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009317/0.2714, allocations: 459 kB / 1.004 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.2719, allocations: 89.84 kB / 1.004 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008369/0.2803, allocations: 4.724 MB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.2807, allocations: 0.8619 MB / 1.009 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006037/0.2814, allocations: 126.9 kB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.2817, allocations: 136.1 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of SimCode: time 1.994e-06/0.2817, allocations: 0 / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.3064, allocations: 12.12 MB / 1.021 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.3067, allocations: 269.7 kB / 1.021 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/2.504, allocations: 8 kB / 1.021 GB, free: 496 kB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)