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.464/1.464, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001118/0.001118, allocations: 170.4 kB / 325.8 MB, free: 2.73 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.494/1.494, allocations: 205 MB / 0.576 GB, free: 21 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.0007886/0.0007887, allocations: 90.64 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 12.06 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.164, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002462/0.1665, allocations: 2.618 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1688, allocations: 2.254 MB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.23e-05/0.1689, allocations: 0 / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.1695, allocations: 242.9 kB / 0.9012 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1696, allocations: 71.41 kB / 0.9013 GB, free: 62.9 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.000762/0.1704, allocations: 447.7 kB / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.1707, allocations: 486.5 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.1708, allocations: 56.66 kB / 0.9022 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1709, allocations: 187.4 kB / 0.9024 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1711, allocations: 199.3 kB / 0.9026 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.1711, allocations: 20 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.1714, allocations: 239.7 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1716, allocations: 147.6 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.1717, allocations: 198.9 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.1722, allocations: 0.7242 MB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1722, allocations: 0 / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1722, allocations: 4 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1722, allocations: 0 / 0.9039 GB, free: 60.23 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.0009435/0.1731, allocations: 0.7701 MB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1732, allocations: 8.031 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.1732, allocations: 50.73 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.1752, allocations: 244.1 kB / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.1756, allocations: 426 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.234e-05/0.1757, allocations: 83.89 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1757, allocations: 12.38 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1768, allocations: 0.5597 MB / 0.906 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1768, allocations: 0 / 0.906 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.1769, allocations: 8 kB / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1769, allocations: 0 / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.1786, allocations: 0.832 MB / 0.9068 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.1804, allocations: 1.281 MB / 0.908 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004786/0.1852, allocations: 1.094 MB / 0.9091 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008289/0.186, allocations: 420.6 kB / 0.9095 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1861, allocations: 15.92 kB / 0.9095 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.1871, allocations: 0.5574 MB / 0.9101 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.1871, allocations: 0 / 0.9101 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.003116/0.1902, allocations: 1.262 MB / 0.9113 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.1903, allocations: 55.41 kB / 0.9113 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.1907, allocations: 0.5253 MB / 0.9119 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.1908, allocations: 33.7 kB / 0.9119 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1909, allocations: 200.4 kB / 0.9121 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.1909, allocations: 63.09 kB / 0.9121 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.191, allocations: 29.7 kB / 0.9122 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1911, allocations: 354.8 kB / 0.9125 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009801/0.1921, allocations: 496.5 kB / 0.913 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009601/0.1931, allocations: 0.5286 MB / 0.9135 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.1948, allocations: 0.8095 MB / 0.9143 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1948, allocations: 0 / 0.9143 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002093/0.1969, allocations: 1.139 MB / 0.9154 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.1969, allocations: 45.69 kB / 0.9154 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1969, allocations: 0 / 0.9154 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1969, allocations: 3.938 kB / 0.9155 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.1975, allocations: 103.8 kB / 0.9156 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.1975, allocations: 4 kB / 0.9156 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.198, allocations: 71.88 kB / 0.9156 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.1981, allocations: 23.97 kB / 0.9156 GB, free: 47.89 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 (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.0002003/0.1983, allocations: 217.7 kB / 0.9159 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.1983, allocations: 43.44 kB / 0.9159 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.1984, allocations: 51.86 kB / 0.9159 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1984, allocations: 4 kB / 0.9159 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1984, allocations: 3.984 kB / 0.916 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1984, allocations: 0 / 0.916 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.1989, allocations: 0.6416 MB / 0.9166 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1989, allocations: 0 / 0.9166 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/0.1995, allocations: 111.8 kB / 0.9167 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1995, allocations: 0 / 0.9167 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.1995, allocations: 11.92 kB / 0.9167 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1996, allocations: 0 / 0.9167 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1996, allocations: 0 / 0.9167 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.2014, allocations: 0.9012 MB / 0.9176 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.2016, allocations: 184.5 kB / 0.9178 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.2017, allocations: 15.92 kB / 0.9178 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.2022, allocations: 79.92 kB / 0.9178 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.2023, allocations: 19.97 kB / 0.9179 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.2023, allocations: 11.98 kB / 0.9179 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003096/0.2026, allocations: 399 kB / 0.9183 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2026, allocations: 0 / 0.9183 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000374/0.203, allocations: 96 kB / 0.9183 GB, free: 45.03 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 (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.002275/0.2053, allocations: 1.486 MB / 0.9198 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.2072, allocations: 0.9909 MB / 0.9208 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2072, allocations: 0 / 0.9208 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009419/0.2082, allocations: 454.8 kB / 0.9212 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.2086, allocations: 97.64 kB / 0.9213 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.2188, allocations: 7.605 MB / 0.9287 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.219, allocations: 0.8581 MB / 0.9296 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004998/0.2195, allocations: 126.9 kB / 0.9297 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.2198, allocations: 135.4 kB / 0.9298 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.2198, allocations: 4 kB / 0.9298 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4373/0.6571, allocations: 12.41 MB / 0.9419 GB, free: 21.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.6574, allocations: 292.1 kB / 0.9422 GB, free: 20.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.269, allocations: 0 / 0.9422 GB, free: 20.65 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)