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.2147/0.2166, allocations: 80.83 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.004877/0.2216, allocations: 2.182 MB / 0.5918 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.2245, allocations: 1.801 MB / 0.5936 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.2247, allocations: 7.938 kB / 0.5936 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007739/0.2255, allocations: 207.2 kB / 0.5938 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2256, allocations: 55.55 kB / 0.5938 GB, free: 2.816 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.001059/0.2267, allocations: 372.6 kB / 0.5942 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.2272, allocations: 370.8 kB / 0.5946 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2273, allocations: 44.38 kB / 0.5946 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.2275, allocations: 143.6 kB / 0.5947 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.2277, allocations: 147.4 kB / 0.5949 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.255e-05/0.2278, allocations: 20 kB / 0.5949 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.2282, allocations: 211.8 kB / 0.5951 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.2284, allocations: 115.6 kB / 0.5952 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.2286, allocations: 155.2 kB / 0.5954 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.2293, allocations: 0.5725 MB / 0.5959 GB, free: 0.707 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2293, allocations: 0 / 0.5959 GB, free: 0.707 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2293, allocations: 0 / 0.5959 GB, free: 0.707 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.2293, allocations: 0 / 0.5959 GB, free: 0.707 MB / 446.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.001366/0.2307, allocations: 0.6982 MB / 0.5966 GB, free: 15.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.2308, allocations: 8.031 kB / 0.5966 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.2325, allocations: 160.4 kB / 0.5968 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.233, allocations: 365.7 kB / 0.5971 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/0.2331, allocations: 49.67 kB / 0.5972 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.2332, allocations: 12 kB / 0.5972 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.2343, allocations: 433.2 kB / 0.5976 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2343, allocations: 7.938 kB / 0.5976 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/0.2343, allocations: 7.984 kB / 0.5976 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2344, allocations: 4 kB / 0.5976 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.236, allocations: 0.5738 MB / 0.5982 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.2379, allocations: 1.058 MB / 0.5992 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005175/0.2431, allocations: 0.8455 MB / 0.6 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007394/0.2439, allocations: 308.7 kB / 0.6003 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.2439, allocations: 4 kB / 0.6003 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.245, allocations: 449.5 kB / 0.6007 GB, free: 11.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 4.318e-06/0.245, allocations: 0 / 0.6007 GB, free: 11.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.002405/0.2474, allocations: 0.9303 MB / 0.6017 GB, free: 10.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.2475, allocations: 51.41 kB / 0.6017 GB, free: 10.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.248, allocations: 433.6 kB / 0.6021 GB, free: 10.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.248, allocations: 29.7 kB / 0.6021 GB, free: 10.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2482, allocations: 172 kB / 0.6023 GB, free: 9.938 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.2483, allocations: 51.28 kB / 0.6024 GB, free: 9.887 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2484, allocations: 53.67 kB / 0.6024 GB, free: 9.828 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2486, allocations: 346.8 kB / 0.6027 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/0.2495, allocations: 380.6 kB / 0.6031 GB, free: 9.105 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/0.2503, allocations: 371.7 kB / 0.6035 GB, free: 8.742 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.2519, allocations: 0.6053 MB / 0.604 GB, free: 8.129 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2519, allocations: 0 / 0.604 GB, free: 8.129 MB / 462.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001894/0.2538, allocations: 0.9063 MB / 0.6049 GB, free: 7.211 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.2539, allocations: 45.62 kB / 0.605 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2539, allocations: 7.984 kB / 0.605 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.254, allocations: 0 / 0.605 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.2544, allocations: 63.91 kB / 0.605 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2544, allocations: 3.938 kB / 0.605 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.2548, allocations: 51.8 kB / 0.6051 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.2549, allocations: 11.98 kB / 0.6051 GB, free: 7.023 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.000278/0.2552, allocations: 186.7 kB / 0.6053 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/0.2553, allocations: 35.56 kB / 0.6053 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.2553, allocations: 39.47 kB / 0.6054 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2553, allocations: 4 kB / 0.6054 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2554, allocations: 4 kB / 0.6054 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2554, allocations: 0 / 0.6054 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.256, allocations: 0.5362 MB / 0.6059 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.256, allocations: 0 / 0.6059 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.2564, allocations: 67.86 kB / 0.606 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2565, allocations: 7.938 kB / 0.606 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.2565, allocations: 11.98 kB / 0.606 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2565, allocations: 0 / 0.606 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2565, allocations: 3.938 kB / 0.606 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.2581, allocations: 0.6556 MB / 0.6066 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2582, allocations: 116.7 kB / 0.6067 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.2583, allocations: 3.938 kB / 0.6067 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.2587, allocations: 51.94 kB / 0.6068 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.2588, allocations: 19.97 kB / 0.6068 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.2589, allocations: 7.984 kB / 0.6068 GB, free: 5.184 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003968/0.2593, allocations: 315.1 kB / 0.6071 GB, free: 4.879 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2593, allocations: 0 / 0.6071 GB, free: 4.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004135/0.2597, allocations: 88.25 kB / 0.6072 GB, free: 4.793 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.0005447/0.2603, allocations: 164.8 kB / 0.6073 GB, free: 4.633 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.2621, allocations: 0.7592 MB / 0.6081 GB, free: 3.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2621, allocations: 3.938 kB / 0.6081 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.2629, allocations: 327.8 kB / 0.6084 GB, free: 3.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.2634, allocations: 69.44 kB / 0.6085 GB, free: 3.473 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.2652, allocations: 0.8952 MB / 0.6093 GB, free: 2.559 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.2657, allocations: 0.8145 MB / 0.6101 GB, free: 1.719 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004228/0.2661, allocations: 98.23 kB / 0.6102 GB, free: 1.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.2662, allocations: 31.41 kB / 0.6103 GB, free: 1.59 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2663, allocations: 8 kB / 0.6103 GB, free: 1.582 MB / 462.1 MB Notification: Performance of Templates: time 0.01314/0.2794, allocations: 6.855 MB / 0.617 GB, free: 10.83 MB / 478.1 MB 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)