Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7911/0.7911, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001008/0.001009, allocations: 174.5 kB / 171.6 MB, free: 1.996 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.253/1.253, allocations: 170.5 MB / 373.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001696/0.001696, allocations: 109.9 kB / 444.4 MB, free: 9.422 MB / 346.7 MB [/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.494/0.4941, allocations: 73.4 MB / 0.666 GB, free: 62.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.6412, allocations: 102 MB / 0.7657 GB, free: 2.223 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.6416, allocations: 85.56 kB / 0.7657 GB, free: 2.141 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.007481/0.6491, allocations: 2.071 MB / 0.7678 GB, free: 128 kB / 474.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.6491, allocations: 4 kB / 0.7678 GB, free: 124 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004378/0.6496, allocations: 354.9 kB / 0.7681 GB, free: 15.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.6497, allocations: 8.031 kB / 0.7681 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/0.6501, allocations: 29.98 kB / 0.7681 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.6502, allocations: 167 kB / 0.7683 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6502, allocations: 1.734 kB / 0.7683 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.6503, allocations: 4 kB / 0.7683 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001057/0.6504, allocations: 21.48 kB / 0.7683 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.6505, allocations: 53.61 kB / 0.7684 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6505, allocations: 0 / 0.7684 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.6505, allocations: 0 / 0.7684 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6506, allocations: 0 / 0.7684 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.6508, allocations: 143 kB / 0.7685 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.651, allocations: 41.64 kB / 0.7686 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.651, allocations: 24.86 kB / 0.7686 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.651, allocations: 0 / 0.7686 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.6511, allocations: 35.77 kB / 0.7686 GB, free: 15.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.6511, allocations: 0 / 0.7686 GB, free: 15.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001782/0.6529, allocations: 422.1 kB / 0.769 GB, free: 14.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.6529, allocations: 51.41 kB / 0.7691 GB, free: 14.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.653, allocations: 89 kB / 0.7691 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.653, allocations: 25.7 kB / 0.7692 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.6531, allocations: 84.14 kB / 0.7693 GB, free: 14.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.6531, allocations: 26.27 kB / 0.7693 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.6531, allocations: 0 / 0.7693 GB, free: 14.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6533, allocations: 319 kB / 0.7696 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.6533, allocations: 27.98 kB / 0.7696 GB, free: 14.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.6534, allocations: 20 kB / 0.7696 GB, free: 13.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.6535, allocations: 37.77 kB / 0.7697 GB, free: 13.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.6535, allocations: 0 / 0.7697 GB, free: 13.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002113/0.6537, allocations: 101.5 kB / 0.7698 GB, free: 13.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6537, allocations: 11.94 kB / 0.7698 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6537, allocations: 2.375 kB / 0.7698 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6537, allocations: 0 / 0.7698 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.654, allocations: 28.86 kB / 0.7698 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.654, allocations: 4 kB / 0.7698 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.6542, allocations: 7.984 kB / 0.7698 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.6542, allocations: 4 kB / 0.7698 GB, free: 13.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.951e-05/0.6543, allocations: 105.8 kB / 0.7699 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.6543, allocations: 3.984 kB / 0.7699 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.6544, allocations: 16.06 kB / 0.7699 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6544, allocations: 0.6562 kB / 0.7699 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6545, allocations: 4 kB / 0.7699 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6545, allocations: 3.938 kB / 0.7699 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.6547, allocations: 165.9 kB / 0.7701 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6547, allocations: 0 / 0.7701 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.6549, allocations: 23.97 kB / 0.7701 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6549, allocations: 0.6562 kB / 0.7701 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.655, allocations: 6.047 kB / 0.7701 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.655, allocations: 3.938 kB / 0.7701 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.655, allocations: 0 / 0.7701 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003184/0.6553, allocations: 171.3 kB / 0.7703 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.6554, allocations: 77.11 kB / 0.7704 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.6554, allocations: 3.906 kB / 0.7704 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.6556, allocations: 7.984 kB / 0.7704 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.6556, allocations: 4 kB / 0.7704 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.6556, allocations: 3.984 kB / 0.7704 GB, free: 13.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.674e-05/0.6557, allocations: 83.34 kB / 0.7705 GB, free: 13.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.656, allocations: 40 kB / 0.7705 GB, free: 13.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002475/0.6562, allocations: 135.1 kB / 0.7706 GB, free: 12.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.6565, allocations: 69.08 kB / 0.7707 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6565, allocations: 0 / 0.7707 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.6566, allocations: 31.98 kB / 0.7707 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.6567, allocations: 16.08 kB / 0.7708 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.6574, allocations: 116.1 kB / 0.7709 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.6577, allocations: 0.7089 MB / 0.7716 GB, free: 11.89 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6577, allocations: 0 / 0.7716 GB, free: 11.89 MB / 490.7 MB Notification: Performance of Templates: time 0.00487/0.6626, allocations: 2.081 MB / 0.7736 GB, free: 9.863 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)