Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 252 MB / 267 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009723/0.000972, allocations: 178.3 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 0.5776 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007616/0.0007616, allocations: 92.69 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 11.06 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1908, allocations: 106.4 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002379/0.1932, allocations: 2.481 MB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1955, allocations: 2.059 MB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1956, allocations: 7.938 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.1963, allocations: 234.9 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.1964, allocations: 59.42 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.0009399/0.1973, allocations: 430.7 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.1977, allocations: 442.5 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1978, allocations: 44.72 kB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1979, allocations: 175.5 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1981, allocations: 191.4 kB / 0.9063 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.1982, allocations: 28 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.1985, allocations: 227.7 kB / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1986, allocations: 143.6 kB / 0.9067 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.1987, allocations: 93.52 kB / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.1991, allocations: 0.5692 MB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1992, allocations: 0 / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1992, allocations: 0 / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.1992, allocations: 0 / 0.9073 GB, free: 56.61 MB / 0.6042 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.001085/0.2003, allocations: 0.7793 MB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2003, allocations: 12.03 kB / 0.9081 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.485e-05/0.2004, allocations: 46.56 kB / 0.9081 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.2024, allocations: 251.1 kB / 0.9084 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.2028, allocations: 401.2 kB / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-05/0.2029, allocations: 83.38 kB / 0.9088 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.203, allocations: 12 kB / 0.9088 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2041, allocations: 0.5564 MB / 0.9094 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2042, allocations: 3.953 kB / 0.9094 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.2042, allocations: 7.984 kB / 0.9094 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2042, allocations: 7.984 kB / 0.9094 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.2062, allocations: 0.8275 MB / 0.9102 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.2082, allocations: 1.269 MB / 0.9114 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.2134, allocations: 1.095 MB / 0.9125 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009335/0.2144, allocations: 424.6 kB / 0.9129 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.2144, allocations: 4 kB / 0.9129 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.2156, allocations: 0.5666 MB / 0.9135 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 2.925e-06/0.2156, allocations: 3.938 kB / 0.9135 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.002909/0.2185, allocations: 1.26 MB / 0.9147 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2186, allocations: 59.41 kB / 0.9148 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.2191, allocations: 0.5096 MB / 0.9153 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.2191, allocations: 37.69 kB / 0.9153 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2193, allocations: 204.4 kB / 0.9155 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.2193, allocations: 63.05 kB / 0.9155 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.2194, allocations: 8 kB / 0.9156 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.2194, allocations: 358.8 kB / 0.9159 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009455/0.2204, allocations: 496.5 kB / 0.9164 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009687/0.2214, allocations: 0.5199 MB / 0.9169 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.2223, allocations: 465.4 kB / 0.9173 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2223, allocations: 4 kB / 0.9173 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002114/0.2244, allocations: 1.142 MB / 0.9184 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.2245, allocations: 41.69 kB / 0.9185 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2245, allocations: 3.953 kB / 0.9185 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2245, allocations: 4 kB / 0.9185 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.2251, allocations: 103.8 kB / 0.9186 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2251, allocations: 4 kB / 0.9186 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.2257, allocations: 75.83 kB / 0.9187 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.2257, allocations: 15.98 kB / 0.9187 GB, free: 44.68 MB / 0.6042 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.0002408/0.226, allocations: 213.3 kB / 0.9189 GB, free: 44.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.226, allocations: 39.53 kB / 0.9189 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.2261, allocations: 51.91 kB / 0.919 GB, free: 44.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2261, allocations: 3.953 kB / 0.919 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2261, allocations: 0 / 0.919 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2261, allocations: 11.94 kB / 0.919 GB, free: 44.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.2266, allocations: 0.6416 MB / 0.9196 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2266, allocations: 0 / 0.9196 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.2272, allocations: 107.8 kB / 0.9197 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2272, allocations: 0 / 0.9197 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.2272, allocations: 15.92 kB / 0.9197 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2272, allocations: 4 kB / 0.9197 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2273, allocations: 0 / 0.9197 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.2291, allocations: 0.8906 MB / 0.9206 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.2294, allocations: 188.5 kB / 0.9208 GB, free: 42.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.2295, allocations: 12 kB / 0.9208 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.2303, allocations: 83.88 kB / 0.9209 GB, free: 42.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2304, allocations: 31.89 kB / 0.9209 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/0.2305, allocations: 11.98 kB / 0.9209 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000541/0.2311, allocations: 387.1 kB / 0.9213 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2311, allocations: 0 / 0.9213 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006166/0.2317, allocations: 107.8 kB / 0.9214 GB, free: 41.8 MB / 0.6042 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.003989/0.2357, allocations: 1.483 MB / 0.9228 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003998/0.2397, allocations: 0.9905 MB / 0.9238 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2398, allocations: 4 kB / 0.9238 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.2416, allocations: 447.6 kB / 0.9242 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000906/0.2426, allocations: 92.91 kB / 0.9243 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.2562, allocations: 4.729 MB / 0.9289 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.2567, allocations: 0.858 MB / 0.9298 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001098/0.2578, allocations: 134.8 kB / 0.9299 GB, free: 32.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.2582, allocations: 135.4 kB / 0.93 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of SimCode: time 7.42e-07/0.2582, allocations: 0 / 0.93 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.2944, allocations: 12.1 MB / 0.9418 GB, free: 21.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.2947, allocations: 281.1 kB / 0.9421 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.457, allocations: 2.578 kB / 0.9421 GB, free: 20.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)