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.1885/0.1906, allocations: 80.83 MB / 0.6707 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.003785/0.1945, allocations: 2.128 MB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003148/0.1977, allocations: 1.808 MB / 0.6745 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.1978, allocations: 7.938 kB / 0.6745 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.1986, allocations: 218.8 kB / 0.6747 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.1988, allocations: 59.42 kB / 0.6748 GB, free: 13.75 MB / 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.001193/0.2, allocations: 425.9 kB / 0.6752 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004747/0.2004, allocations: 394.8 kB / 0.6756 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.2006, allocations: 40.38 kB / 0.6756 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.2008, allocations: 155.6 kB / 0.6758 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.201, allocations: 147.5 kB / 0.6759 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.2011, allocations: 28 kB / 0.6759 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.2015, allocations: 231.7 kB / 0.6761 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.2017, allocations: 115.7 kB / 0.6762 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.2019, allocations: 167.1 kB / 0.6764 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007115/0.2026, allocations: 0.5842 MB / 0.677 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.2027, allocations: 4 kB / 0.677 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2027, allocations: 0 / 0.677 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.2027, allocations: 3.938 kB / 0.677 GB, free: 11.48 MB / 0.5137 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.00123/0.2039, allocations: 0.6983 MB / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.204, allocations: 8.031 kB / 0.6777 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.2058, allocations: 160.3 kB / 0.6778 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.2063, allocations: 369.3 kB / 0.6782 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.2064, allocations: 53.67 kB / 0.6782 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.2065, allocations: 12 kB / 0.6782 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.2076, allocations: 437.2 kB / 0.6787 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2076, allocations: 0 / 0.6787 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.2076, allocations: 0 / 0.6787 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2076, allocations: 0 / 0.6787 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.2094, allocations: 0.5854 MB / 0.6792 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.2114, allocations: 1.054 MB / 0.6803 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005116/0.2165, allocations: 0.8417 MB / 0.6811 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/0.2174, allocations: 312.6 kB / 0.6814 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.2175, allocations: 0 / 0.6814 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.2185, allocations: 446.9 kB / 0.6818 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.2185, allocations: 0 / 0.6818 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002579/0.2211, allocations: 0.9225 MB / 0.6827 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.2212, allocations: 55.41 kB / 0.6828 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.2217, allocations: 425.6 kB / 0.6832 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.2217, allocations: 33.7 kB / 0.6832 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.2219, allocations: 168.1 kB / 0.6834 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.2219, allocations: 51.3 kB / 0.6834 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.2221, allocations: 53.67 kB / 0.6835 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2222, allocations: 346.8 kB / 0.6838 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008685/0.2231, allocations: 388.5 kB / 0.6842 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008463/0.224, allocations: 372.4 kB / 0.6845 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.2255, allocations: 0.5991 MB / 0.6851 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2255, allocations: 4 kB / 0.6851 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001995/0.2275, allocations: 0.9085 MB / 0.686 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.2276, allocations: 41.69 kB / 0.686 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2276, allocations: 4 kB / 0.686 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.49e-05/0.2276, allocations: 3.984 kB / 0.686 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.2281, allocations: 67.86 kB / 0.6861 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2281, allocations: 0 / 0.6861 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.2286, allocations: 51.83 kB / 0.6862 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.2286, allocations: 15.97 kB / 0.6862 GB, free: 1.809 MB / 0.5137 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.0003024/0.2289, allocations: 185.8 kB / 0.6863 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.229, allocations: 39.47 kB / 0.6864 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.2291, allocations: 35.47 kB / 0.6864 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.2291, allocations: 7.984 kB / 0.6864 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2291, allocations: 4 kB / 0.6864 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2291, allocations: 3.984 kB / 0.6864 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.2297, allocations: 0.5323 MB / 0.687 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2297, allocations: 0 / 0.687 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/0.2302, allocations: 67.8 kB / 0.687 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2302, allocations: 4 kB / 0.687 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.2302, allocations: 7.984 kB / 0.687 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2302, allocations: 7.938 kB / 0.687 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2302, allocations: 3.984 kB / 0.687 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.2319, allocations: 0.6555 MB / 0.6877 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/0.232, allocations: 112.7 kB / 0.6878 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.2321, allocations: 8 kB / 0.6878 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.2325, allocations: 55.92 kB / 0.6878 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.2326, allocations: 15.92 kB / 0.6879 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.2326, allocations: 11.98 kB / 0.6879 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003227/0.233, allocations: 315.1 kB / 0.6882 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.233, allocations: 0 / 0.6882 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004235/0.2334, allocations: 88.19 kB / 0.6883 GB, free: 15.57 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.0004908/0.2339, allocations: 160.3 kB / 0.6884 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.2358, allocations: 0.7606 MB / 0.6892 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2358, allocations: 0 / 0.6892 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008103/0.2366, allocations: 327.7 kB / 0.6895 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.2371, allocations: 77.38 kB / 0.6895 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.239, allocations: 0.8204 MB / 0.6903 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.2394, allocations: 0.8104 MB / 0.6911 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003468/0.2397, allocations: 102.2 kB / 0.6912 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2398, allocations: 31.41 kB / 0.6913 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of SimCode: time 1.001e-06/0.2399, allocations: 0 / 0.6913 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.01297/0.2528, allocations: 7.307 MB / 0.6984 GB, free: 5.188 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)