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.2016/0.204, allocations: 80.84 MB / 0.6707 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.003956/0.208, allocations: 2.121 MB / 0.6727 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003077/0.2111, allocations: 1.812 MB / 0.6745 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.2113, allocations: 4 kB / 0.6745 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.2122, allocations: 222.7 kB / 0.6747 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.2124, allocations: 63.36 kB / 0.6748 GB, free: 13.73 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.001291/0.2137, allocations: 423.3 kB / 0.6752 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.2143, allocations: 394.8 kB / 0.6756 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.2145, allocations: 36.39 kB / 0.6756 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.2147, allocations: 155.6 kB / 0.6757 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.215, allocations: 147.5 kB / 0.6759 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.703e-05/0.2151, allocations: 27.94 kB / 0.6759 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.2156, allocations: 235.8 kB / 0.6761 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.2158, allocations: 111.7 kB / 0.6762 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.216, allocations: 163.2 kB / 0.6764 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007734/0.2168, allocations: 0.5842 MB / 0.677 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2168, allocations: 4 kB / 0.677 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2168, allocations: 0 / 0.677 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.2168, allocations: 0 / 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.001499/0.2183, allocations: 0.6983 MB / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2184, allocations: 12.03 kB / 0.6777 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.2203, allocations: 164.3 kB / 0.6778 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.2212, allocations: 373.3 kB / 0.6782 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.2214, allocations: 49.67 kB / 0.6782 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.2214, allocations: 12 kB / 0.6782 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2225, allocations: 437.2 kB / 0.6787 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2226, allocations: 0 / 0.6787 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.2226, allocations: 4 kB / 0.6787 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2226, allocations: 3.984 kB / 0.6787 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.2242, allocations: 0.5854 MB / 0.6792 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.2263, allocations: 1.054 MB / 0.6803 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004789/0.2311, allocations: 0.8417 MB / 0.6811 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007519/0.2318, allocations: 312.6 kB / 0.6814 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.2319, allocations: 4 kB / 0.6814 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.2329, allocations: 442.9 kB / 0.6818 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.2329, allocations: 0 / 0.6818 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002657/0.2356, allocations: 0.9217 MB / 0.6827 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/0.2357, allocations: 55.41 kB / 0.6828 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.2364, allocations: 429.6 kB / 0.6832 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.411e-05/0.2365, allocations: 33.7 kB / 0.6832 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.2367, allocations: 164.1 kB / 0.6834 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/0.2368, allocations: 55.28 kB / 0.6834 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.237, allocations: 57.67 kB / 0.6835 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002312/0.2373, allocations: 350.7 kB / 0.6838 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.2383, allocations: 380.6 kB / 0.6842 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00097/0.2393, allocations: 372.4 kB / 0.6845 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.241, allocations: 0.5991 MB / 0.6851 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.241, allocations: 4 kB / 0.6851 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002278/0.2433, allocations: 0.9085 MB / 0.686 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.884e-05/0.2434, allocations: 45.69 kB / 0.686 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.2434, allocations: 0 / 0.686 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.2435, allocations: 0 / 0.686 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.244, allocations: 71.84 kB / 0.6861 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.244, allocations: 0 / 0.6861 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.2444, allocations: 43.89 kB / 0.6862 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.2445, allocations: 15.92 kB / 0.6862 GB, free: 1.797 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.0003521/0.2449, allocations: 185.8 kB / 0.6863 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.245, allocations: 39.47 kB / 0.6864 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.413e-05/0.2451, allocations: 39.47 kB / 0.6864 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.2451, allocations: 4 kB / 0.6864 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.2451, allocations: 3.938 kB / 0.6864 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.2451, allocations: 7.984 kB / 0.6864 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.246, allocations: 0.5284 MB / 0.687 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.2461, allocations: 4 kB / 0.687 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.2465, allocations: 63.86 kB / 0.687 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2465, allocations: 4 kB / 0.687 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.2466, allocations: 7.984 kB / 0.687 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2466, allocations: 3.938 kB / 0.687 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.2466, allocations: 0 / 0.687 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.2484, allocations: 0.6603 MB / 0.6877 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2486, allocations: 116.7 kB / 0.6878 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.2486, allocations: 12 kB / 0.6878 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.2491, allocations: 47.94 kB / 0.6878 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2492, allocations: 19.97 kB / 0.6879 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.2493, allocations: 7.984 kB / 0.6879 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004197/0.2497, allocations: 319.1 kB / 0.6882 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2497, allocations: 0 / 0.6882 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004662/0.2502, allocations: 88.19 kB / 0.6883 GB, free: 15.56 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.0006138/0.2508, allocations: 163.1 kB / 0.6884 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.2528, allocations: 0.7606 MB / 0.6892 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2528, allocations: 0 / 0.6892 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008986/0.2537, allocations: 327.7 kB / 0.6895 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.2542, allocations: 81.39 kB / 0.6896 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.2564, allocations: 0.812 MB / 0.6903 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.257, allocations: 0.8104 MB / 0.6911 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004191/0.2574, allocations: 106.2 kB / 0.6912 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.2576, allocations: 31.41 kB / 0.6913 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.2576, allocations: 0 / 0.6913 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.01583/0.2734, allocations: 7.443 MB / 0.6985 GB, free: 5.031 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)