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.001068/0.001068, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.254/1.254, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.552/1.552, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001302/0.001302, allocations: 68.62 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1629, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003501/0.1664, allocations: 2.899 MB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.1689, allocations: 2.263 MB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.1691, allocations: 0 / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.1697, allocations: 262.8 kB / 0.7888 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.1698, allocations: 75.28 kB / 0.7889 GB, free: 7.852 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.0008757/0.1707, allocations: 481.4 kB / 0.7893 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.1711, allocations: 0.5064 MB / 0.7898 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.1712, allocations: 48.73 kB / 0.7899 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.1714, allocations: 199.5 kB / 0.79 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.1716, allocations: 215.2 kB / 0.7903 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.1717, allocations: 36 kB / 0.7903 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.172, allocations: 255.6 kB / 0.7905 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1722, allocations: 155.6 kB / 0.7907 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.1724, allocations: 214.9 kB / 0.7909 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.173, allocations: 0.7517 MB / 0.7916 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.173, allocations: 0 / 0.7916 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.173, allocations: 0 / 0.7916 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.173, allocations: 0 / 0.7916 GB, free: 5.02 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.001156/0.1742, allocations: 0.8322 MB / 0.7924 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.1742, allocations: 16.02 kB / 0.7924 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.1743, allocations: 42.75 kB / 0.7925 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.1763, allocations: 232 kB / 0.7927 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.1767, allocations: 426 kB / 0.7931 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-05/0.1768, allocations: 91.69 kB / 0.7932 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.1769, allocations: 8 kB / 0.7932 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.1781, allocations: 0.5351 MB / 0.7937 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1781, allocations: 0 / 0.7937 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.1781, allocations: 7.938 kB / 0.7937 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1781, allocations: 8 kB / 0.7937 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.1801, allocations: 0.7533 MB / 0.7945 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.182, allocations: 1.273 MB / 0.7957 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005004/0.187, allocations: 1.021 MB / 0.7967 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/0.188, allocations: 396.6 kB / 0.7971 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.188, allocations: 3.984 kB / 0.7971 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.1891, allocations: 0.534 MB / 0.7976 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.1891, allocations: 0 / 0.7976 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.002922/0.192, allocations: 1.175 MB / 0.7988 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1921, allocations: 59.41 kB / 0.7988 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.1926, allocations: 0.5213 MB / 0.7993 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.1926, allocations: 33.7 kB / 0.7994 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1928, allocations: 200.4 kB / 0.7996 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/0.1929, allocations: 67.11 kB / 0.7996 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.193, allocations: 69.64 kB / 0.7997 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1931, allocations: 362.7 kB / 0.8 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.1942, allocations: 468.5 kB / 0.8005 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.1952, allocations: 0.4965 MB / 0.801 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.1971, allocations: 0.7558 MB / 0.8017 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1971, allocations: 4 kB / 0.8017 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002278/0.1994, allocations: 1.086 MB / 0.8028 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.1994, allocations: 45.69 kB / 0.8028 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1994, allocations: 4 kB / 0.8028 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1994, allocations: 3.938 kB / 0.8028 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.2, allocations: 91.83 kB / 0.8029 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.2, allocations: 0 / 0.8029 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.2005, allocations: 59.78 kB / 0.803 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.2006, allocations: 27.97 kB / 0.803 GB, free: 9.082 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.000214/0.2008, allocations: 209.8 kB / 0.8032 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.2009, allocations: 43.47 kB / 0.8032 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.201, allocations: 51.91 kB / 0.8033 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.201, allocations: 0 / 0.8033 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.201, allocations: 0 / 0.8033 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.201, allocations: 0 / 0.8033 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.2015, allocations: 0.6417 MB / 0.8039 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2016, allocations: 3.938 kB / 0.8039 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.2021, allocations: 99.81 kB / 0.804 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2022, allocations: 0 / 0.804 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.2022, allocations: 7.984 kB / 0.804 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2022, allocations: 0 / 0.804 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2022, allocations: 4 kB / 0.804 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.2042, allocations: 0.8397 MB / 0.8048 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.2044, allocations: 196.4 kB / 0.805 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.2045, allocations: 11.98 kB / 0.805 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000529/0.205, allocations: 59.92 kB / 0.8051 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.2051, allocations: 23.97 kB / 0.8051 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2051, allocations: 7.984 kB / 0.8051 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003605/0.2055, allocations: 391.1 kB / 0.8055 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2055, allocations: 0 / 0.8055 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003306/0.2058, allocations: 107.9 kB / 0.8056 GB, free: 6.305 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.002437/0.2083, allocations: 1.435 MB / 0.807 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.2104, allocations: 0.9597 MB / 0.8079 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2105, allocations: 0 / 0.8079 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000987/0.2114, allocations: 430.3 kB / 0.8084 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.2119, allocations: 93.81 kB / 0.8084 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.2228, allocations: 7.389 MB / 0.8157 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.2232, allocations: 0.8619 MB / 0.8165 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004726/0.2237, allocations: 126.9 kB / 0.8166 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.2239, allocations: 135.4 kB / 0.8168 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of SimCode: time 2.11e-07/0.2239, allocations: 0 / 0.8168 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.363/2.587, allocations: 13.24 MB / 0.8297 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/12.7, allocations: 18.38 kB / 0.8297 GB, free: 13.76 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)