Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1903/0.1915, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.002441/0.194, allocations: 1.826 MB / 0.5959 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1967, allocations: 1.774 MB / 0.5976 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.1969, allocations: 4 kB / 0.5977 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.1977, allocations: 215.2 kB / 0.5979 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1979, allocations: 55.55 kB / 0.5979 GB, free: 1.664 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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.001089/0.199, allocations: 372.1 kB / 0.5983 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.1996, allocations: 382.7 kB / 0.5986 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1997, allocations: 36.39 kB / 0.5987 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.2, allocations: 135.6 kB / 0.5988 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.2002, allocations: 147.5 kB / 0.5989 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.346e-05/0.2003, allocations: 16 kB / 0.5989 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.2007, allocations: 215.7 kB / 0.5992 GB, free: 412 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2009, allocations: 107.7 kB / 0.5993 GB, free: 304 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.2011, allocations: 180.9 kB / 0.5994 GB, free: 116 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.2019, allocations: 0.5568 MB / 0.6 GB, free: 15.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2019, allocations: 4 kB / 0.6 GB, free: 15.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.2019, allocations: 3.984 kB / 0.6 GB, free: 15.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.2019, allocations: 0 / 0.6 GB, free: 15.55 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001194/0.2031, allocations: 0.644 MB / 0.6006 GB, free: 14.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2032, allocations: 8.031 kB / 0.6006 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.205, allocations: 176.2 kB / 0.6008 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.2056, allocations: 365.7 kB / 0.6011 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.2058, allocations: 45.69 kB / 0.6012 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.2058, allocations: 8 kB / 0.6012 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.2069, allocations: 465.2 kB / 0.6016 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2069, allocations: 0 / 0.6016 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.207, allocations: 0 / 0.6016 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.207, allocations: 4 kB / 0.6016 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.2087, allocations: 0.6227 MB / 0.6022 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.2107, allocations: 1.073 MB / 0.6033 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00508/0.2158, allocations: 0.9081 MB / 0.6042 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.2167, allocations: 336.6 kB / 0.6045 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.2167, allocations: 0 / 0.6045 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.2178, allocations: 465.8 kB / 0.6049 GB, free: 10.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 4.669e-06/0.2178, allocations: 0 / 0.6049 GB, free: 10.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.002668/0.2205, allocations: 0.9773 MB / 0.6059 GB, free: 9.301 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.2206, allocations: 51.41 kB / 0.6059 GB, free: 9.238 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.2212, allocations: 433.6 kB / 0.6064 GB, free: 8.805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-05/0.2212, allocations: 33.7 kB / 0.6064 GB, free: 8.766 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.2214, allocations: 176 kB / 0.6066 GB, free: 8.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.2215, allocations: 55.28 kB / 0.6066 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.2216, allocations: 21.66 kB / 0.6066 GB, free: 8.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2217, allocations: 354.8 kB / 0.607 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009041/0.2226, allocations: 404.6 kB / 0.6074 GB, free: 7.754 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008416/0.2235, allocations: 391.7 kB / 0.6077 GB, free: 7.371 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.225, allocations: 0.6367 MB / 0.6084 GB, free: 6.727 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2251, allocations: 0 / 0.6084 GB, free: 6.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001973/0.227, allocations: 0.9437 MB / 0.6093 GB, free: 5.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.2271, allocations: 49.62 kB / 0.6093 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2271, allocations: 0 / 0.6093 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2272, allocations: 4 kB / 0.6093 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.2276, allocations: 75.84 kB / 0.6094 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2276, allocations: 4 kB / 0.6094 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.2281, allocations: 55.8 kB / 0.6095 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.2281, allocations: 11.98 kB / 0.6095 GB, free: 5.566 MB / 462.1 MB 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 (17): * Single equations (assignments): 16 * 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.0002755/0.2284, allocations: 190.7 kB / 0.6096 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.2285, allocations: 35.56 kB / 0.6097 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.2286, allocations: 43.47 kB / 0.6097 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2286, allocations: 3.938 kB / 0.6097 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2286, allocations: 0 / 0.6097 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2286, allocations: 3.984 kB / 0.6097 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.2292, allocations: 0.5324 MB / 0.6103 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2292, allocations: 3.938 kB / 0.6103 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/0.2297, allocations: 71.92 kB / 0.6103 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.2297, allocations: 3.938 kB / 0.6103 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.2297, allocations: 15.97 kB / 0.6103 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2297, allocations: 4 kB / 0.6103 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2297, allocations: 8 kB / 0.6104 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.2314, allocations: 0.6986 MB / 0.611 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.2316, allocations: 112.6 kB / 0.6111 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.2316, allocations: 11.94 kB / 0.6112 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.2321, allocations: 59.94 kB / 0.6112 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.2322, allocations: 23.91 kB / 0.6112 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.2322, allocations: 11.98 kB / 0.6112 GB, free: 3.645 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003632/0.2326, allocations: 315.1 kB / 0.6115 GB, free: 3.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2326, allocations: 0 / 0.6115 GB, free: 3.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004021/0.233, allocations: 88.25 kB / 0.6116 GB, free: 3.254 MB / 462.1 MB 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 (16): * Single equations (assignments): 14 * 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.0004638/0.2335, allocations: 157.1 kB / 0.6118 GB, free: 3.102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.2353, allocations: 0.7996 MB / 0.6126 GB, free: 2.289 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2353, allocations: 0 / 0.6126 GB, free: 2.289 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008256/0.2362, allocations: 351.7 kB / 0.6129 GB, free: 1.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.2366, allocations: 71.75 kB / 0.613 GB, free: 1.879 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.2385, allocations: 0.9046 MB / 0.6138 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.2389, allocations: 0.8107 MB / 0.6146 GB, free: 120 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004308/0.2393, allocations: 98.23 kB / 0.6147 GB, free: 20 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.2395, allocations: 35.47 kB / 0.6148 GB, free: 15.98 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2395, allocations: 4 kB / 0.6148 GB, free: 15.98 MB / 478.1 MB Notification: Performance of Templates: time 0.01252/0.252, allocations: 6.787 MB / 0.6214 GB, free: 9.297 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe 2>&1) Environment - environmentSimulation: