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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 190.5 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001686, allocations: 77.45 kB / 0.6711 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1834, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003709/0.1871, allocations: 2.933 MB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.1898, allocations: 2.225 MB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.19, allocations: 0 / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.1907, allocations: 251.1 kB / 0.7883 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.1908, allocations: 59.47 kB / 0.7883 GB, free: 8.312 MB / 0.6075 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.0009835/0.1918, allocations: 461.5 kB / 0.7888 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.1923, allocations: 0.5063 MB / 0.7893 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1924, allocations: 60.7 kB / 0.7893 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.1926, allocations: 195.5 kB / 0.7895 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1929, allocations: 223.2 kB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.1929, allocations: 39.94 kB / 0.7898 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.1933, allocations: 255.7 kB / 0.79 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1934, allocations: 159.6 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1936, allocations: 211 kB / 0.7903 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.1943, allocations: 0.7478 MB / 0.7911 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1943, allocations: 0 / 0.7911 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1943, allocations: 4 kB / 0.7911 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1943, allocations: 0 / 0.7911 GB, free: 5.48 MB / 0.6075 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.001246/0.1956, allocations: 0.8345 MB / 0.7919 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1956, allocations: 12.03 kB / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.1957, allocations: 46.73 kB / 0.792 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.1977, allocations: 232.1 kB / 0.7922 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.1982, allocations: 430 kB / 0.7926 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.1983, allocations: 87.69 kB / 0.7927 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.1984, allocations: 8 kB / 0.7927 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.1996, allocations: 0.54 MB / 0.7932 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1996, allocations: 0 / 0.7932 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.1997, allocations: 4 kB / 0.7932 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1997, allocations: 7.938 kB / 0.7932 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.2016, allocations: 0.7611 MB / 0.794 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.2038, allocations: 1.265 MB / 0.7952 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005326/0.2091, allocations: 1.013 MB / 0.7962 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.2102, allocations: 400.7 kB / 0.7966 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.656e-05/0.2103, allocations: 3.984 kB / 0.7966 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.2115, allocations: 0.5347 MB / 0.7971 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.374e-06/0.2116, allocations: 4 kB / 0.7971 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003073/0.2146, allocations: 1.175 MB / 0.7982 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.2147, allocations: 59.31 kB / 0.7983 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/0.2153, allocations: 0.5175 MB / 0.7988 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/0.2154, allocations: 37.69 kB / 0.7988 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.2156, allocations: 204.4 kB / 0.799 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.969e-05/0.2157, allocations: 63.11 kB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.2158, allocations: 73.59 kB / 0.7992 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.216, allocations: 358.7 kB / 0.7995 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.217, allocations: 464.5 kB / 0.8 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.218, allocations: 0.4963 MB / 0.8004 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.2199, allocations: 0.752 MB / 0.8012 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2199, allocations: 3.938 kB / 0.8012 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002447/0.2223, allocations: 1.094 MB / 0.8022 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.2224, allocations: 45.69 kB / 0.8023 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2224, allocations: 3.984 kB / 0.8023 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.2225, allocations: 0 / 0.8023 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.2231, allocations: 87.89 kB / 0.8024 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2231, allocations: 3.938 kB / 0.8024 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.2236, allocations: 63.78 kB / 0.8024 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.2237, allocations: 15.98 kB / 0.8025 GB, free: 9.551 MB / 0.6231 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.0003126/0.224, allocations: 213.8 kB / 0.8027 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.2241, allocations: 43.47 kB / 0.8027 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.2241, allocations: 47.92 kB / 0.8027 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2242, allocations: 4 kB / 0.8027 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2242, allocations: 8 kB / 0.8028 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2242, allocations: 3.984 kB / 0.8028 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.2248, allocations: 0.6416 MB / 0.8034 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2248, allocations: 3.938 kB / 0.8034 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/0.2254, allocations: 95.83 kB / 0.8035 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.2254, allocations: 0 / 0.8035 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.2254, allocations: 7.984 kB / 0.8035 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2254, allocations: 4 kB / 0.8035 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2254, allocations: 0 / 0.8035 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.2274, allocations: 0.8351 MB / 0.8043 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.2276, allocations: 196.4 kB / 0.8045 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.2277, allocations: 8 kB / 0.8045 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.2282, allocations: 67.91 kB / 0.8046 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2283, allocations: 23.91 kB / 0.8046 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.2284, allocations: 11.98 kB / 0.8046 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004149/0.2288, allocations: 391.1 kB / 0.805 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2288, allocations: 0 / 0.805 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004119/0.2292, allocations: 107.9 kB / 0.8051 GB, free: 6.766 MB / 0.6231 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.002861/0.2321, allocations: 1.439 MB / 0.8065 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002316/0.2344, allocations: 0.9665 MB / 0.8074 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2344, allocations: 0 / 0.8074 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009707/0.2354, allocations: 423.6 kB / 0.8078 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.236, allocations: 93.83 kB / 0.8079 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.2483, allocations: 7.458 MB / 0.8152 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.2489, allocations: 0.8542 MB / 0.816 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005776/0.2495, allocations: 130.9 kB / 0.8162 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.2498, allocations: 135.4 kB / 0.8163 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.2498, allocations: 0 / 0.8163 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.657/3.907, allocations: 12.91 MB / 0.8289 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004172/3.907, allocations: 292.8 kB / 0.8292 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/6.077, allocations: 0 / 0.8292 GB, free: 14.14 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)