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.2071/0.2091, allocations: 80.83 MB / 0.6707 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.003804/0.213, allocations: 2.119 MB / 0.6727 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.2158, allocations: 1.804 MB / 0.6745 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.216, allocations: 4 kB / 0.6745 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007179/0.2167, allocations: 214.8 kB / 0.6747 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.2169, allocations: 63.36 kB / 0.6748 GB, free: 332 kB / 0.5137 GB [/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.00115/0.2181, allocations: 413.6 kB / 0.6752 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.2186, allocations: 398.8 kB / 0.6755 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2188, allocations: 36.39 kB / 0.6756 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2189, allocations: 159.6 kB / 0.6757 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.2192, allocations: 151.4 kB / 0.6759 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.2192, allocations: 32 kB / 0.6759 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.2196, allocations: 235.8 kB / 0.6761 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.2197, allocations: 115.7 kB / 0.6762 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.2199, allocations: 163.1 kB / 0.6764 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.2206, allocations: 0.5842 MB / 0.677 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.2206, allocations: 0 / 0.677 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2206, allocations: 0 / 0.677 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.2206, allocations: 0 / 0.677 GB, free: 14.07 MB / 0.5294 GB 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.001151/0.2218, allocations: 0.7021 MB / 0.6777 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2218, allocations: 11.97 kB / 0.6777 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.2234, allocations: 164.3 kB / 0.6778 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.224, allocations: 373.2 kB / 0.6782 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.12e-05/0.2241, allocations: 45.69 kB / 0.6782 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.2241, allocations: 8 kB / 0.6782 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009719/0.2251, allocations: 441.2 kB / 0.6787 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2251, allocations: 0 / 0.6787 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.2252, allocations: 4 kB / 0.6787 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2252, allocations: 0 / 0.6787 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.2266, allocations: 0.5893 MB / 0.6792 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.2284, allocations: 1.046 MB / 0.6803 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/0.2331, allocations: 0.8456 MB / 0.6811 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007101/0.2338, allocations: 312.6 kB / 0.6814 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.2339, allocations: 7.922 kB / 0.6814 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009638/0.2348, allocations: 443 kB / 0.6818 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 2.785e-06/0.2349, allocations: 0 / 0.6818 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.00226/0.2371, allocations: 0.9187 MB / 0.6827 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.2372, allocations: 55.39 kB / 0.6828 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.2378, allocations: 425.6 kB / 0.6832 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.2378, allocations: 37.64 kB / 0.6832 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.238, allocations: 176 kB / 0.6834 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.92e-05/0.2381, allocations: 55.28 kB / 0.6834 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.2382, allocations: 53.67 kB / 0.6835 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2384, allocations: 346.8 kB / 0.6838 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008212/0.2393, allocations: 384.6 kB / 0.6842 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/0.2401, allocations: 375.6 kB / 0.6845 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.2415, allocations: 0.5945 MB / 0.6851 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.2415, allocations: 0 / 0.6851 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001881/0.2434, allocations: 0.9124 MB / 0.686 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.2434, allocations: 41.69 kB / 0.686 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.2435, allocations: 3.938 kB / 0.686 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.2435, allocations: 0 / 0.686 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.2439, allocations: 63.92 kB / 0.6861 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.2439, allocations: 0 / 0.6861 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.2443, allocations: 47.8 kB / 0.6862 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.2444, allocations: 15.98 kB / 0.6862 GB, free: 4.387 MB / 0.5294 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 (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.0002958/0.2447, allocations: 196.8 kB / 0.6864 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.2448, allocations: 35.56 kB / 0.6864 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.277e-05/0.2448, allocations: 43.45 kB / 0.6864 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.2449, allocations: 4 kB / 0.6864 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2449, allocations: 0 / 0.6864 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2449, allocations: 0 / 0.6864 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.2454, allocations: 0.5362 MB / 0.687 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2455, allocations: 3.938 kB / 0.687 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.2459, allocations: 67.84 kB / 0.687 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2459, allocations: 7.938 kB / 0.687 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.2459, allocations: 7.984 kB / 0.687 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2459, allocations: 4 kB / 0.687 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2459, allocations: 0 / 0.687 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.2475, allocations: 0.6596 MB / 0.6877 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.2476, allocations: 108.7 kB / 0.6878 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.2476, allocations: 11.98 kB / 0.6878 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.248, allocations: 51.94 kB / 0.6879 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.2481, allocations: 15.98 kB / 0.6879 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.2482, allocations: 11.98 kB / 0.6879 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003399/0.2485, allocations: 315.1 kB / 0.6882 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2485, allocations: 0 / 0.6882 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004088/0.2489, allocations: 88.17 kB / 0.6883 GB, free: 2.148 MB / 0.5294 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 (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.0004558/0.2494, allocations: 161.1 kB / 0.6884 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.2511, allocations: 0.7606 MB / 0.6892 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2511, allocations: 0 / 0.6892 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.2519, allocations: 327.7 kB / 0.6895 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.2523, allocations: 77.44 kB / 0.6895 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4325/0.6849, allocations: 0.8002 MB / 0.6903 GB, free: 23.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.6853, allocations: 0.8122 MB / 0.6911 GB, free: 22.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005304/0.6859, allocations: 95.5 kB / 0.6912 GB, free: 22.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.6861, allocations: 36.47 kB / 0.6912 GB, free: 22.93 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/0.6861, allocations: 1.031 kB / 0.6912 GB, free: 22.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.01649/0.7026, allocations: 7.306 MB / 0.6984 GB, free: 22.64 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.makefile (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)