Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [: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.8042/0.8042, 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.001161/0.001161, allocations: 170.8 kB / 171.6 MB, free: 2.008 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.5/1.5, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.00165/0.00165, allocations: 117.4 kB / 444.4 MB, free: 9.367 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.476/0.476, allocations: 73.39 MB / 0.666 GB, free: 62.54 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.6163, allocations: 101.3 MB / 0.7649 GB, free: 3.082 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.6166, allocations: 71.95 kB / 0.765 GB, free: 3.012 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002994/0.6196, allocations: 0.6586 MB / 0.7656 GB, free: 2.383 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.6196, allocations: 0 / 0.7656 GB, free: 2.383 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003849/0.62, allocations: 337.5 kB / 0.7659 GB, free: 2.012 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.6201, allocations: 8.031 kB / 0.7659 GB, free: 2.004 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.6202, allocations: 10.03 kB / 0.7659 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.6203, allocations: 167 kB / 0.7661 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.6204, allocations: 0 / 0.7661 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.6204, allocations: 4 kB / 0.7661 GB, free: 1.789 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.483e-05/0.6205, allocations: 15.92 kB / 0.7661 GB, free: 1.773 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/0.6205, allocations: 34.73 kB / 0.7662 GB, free: 1.734 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.6206, allocations: 0 / 0.7662 GB, free: 1.734 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.6206, allocations: 0 / 0.7662 GB, free: 1.734 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6206, allocations: 4 kB / 0.7662 GB, free: 1.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.6209, allocations: 235.6 kB / 0.7664 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.621, allocations: 18.58 kB / 0.7664 GB, free: 1.438 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.621, allocations: 12.92 kB / 0.7664 GB, free: 1.422 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.6211, allocations: 1.266 kB / 0.7664 GB, free: 1.422 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.233e-05/0.6211, allocations: 34.5 kB / 0.7664 GB, free: 1.379 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.6211, allocations: 0 / 0.7664 GB, free: 1.379 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001619/0.6213, allocations: 45.61 kB / 0.7665 GB, free: 1.328 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.6214, allocations: 51.41 kB / 0.7665 GB, free: 1.266 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.6214, allocations: 92.98 kB / 0.7666 GB, free: 1.168 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.6215, allocations: 29.7 kB / 0.7667 GB, free: 1.133 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.6215, allocations: 86.02 kB / 0.7667 GB, free: 1.047 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.6215, allocations: 7.844 kB / 0.7667 GB, free: 1.039 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.6215, allocations: 0.875 kB / 0.7667 GB, free: 1.039 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6217, allocations: 313.8 kB / 0.767 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.6217, allocations: 12.03 kB / 0.7671 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.6217, allocations: 4 kB / 0.7671 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.6217, allocations: 3.984 kB / 0.7671 GB, free: 0.707 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6218, allocations: 4 kB / 0.7671 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.003e-05/0.6218, allocations: 41.64 kB / 0.7671 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6219, allocations: 4 kB / 0.7671 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6219, allocations: 2.734 kB / 0.7671 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6219, allocations: 3.906 kB / 0.7671 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.622, allocations: 20.08 kB / 0.7671 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.622, allocations: 1.953 kB / 0.7671 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.6221, allocations: 11.98 kB / 0.7671 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.6221, allocations: 0 / 0.7671 GB, free: 0.6172 MB / 474.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 (2): * Single equations (assignments): 2 * 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 7.576e-05/0.6222, allocations: 105.9 kB / 0.7672 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.6222, allocations: 7.906 kB / 0.7673 GB, free: 0.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.6224, allocations: 51.06 kB / 0.7673 GB, free: 460 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6224, allocations: 0 / 0.7673 GB, free: 460 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6224, allocations: 1.125 kB / 0.7673 GB, free: 460 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6224, allocations: 3.938 kB / 0.7673 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.6226, allocations: 138.2 kB / 0.7674 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6226, allocations: 0 / 0.7674 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.6227, allocations: 19.98 kB / 0.7675 GB, free: 260 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.6227, allocations: 6.719 kB / 0.7675 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.6227, allocations: 0 / 0.7675 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6227, allocations: 0 / 0.7675 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6227, allocations: 4 kB / 0.7675 GB, free: 252 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001328/0.6229, allocations: 135.5 kB / 0.7676 GB, free: 100 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.6229, allocations: 82.83 kB / 0.7677 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.6229, allocations: 0.5156 kB / 0.7677 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.6231, allocations: 22.33 kB / 0.7677 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.6231, allocations: 0 / 0.7677 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.6231, allocations: 0 / 0.7677 GB, free: 15.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.936e-05/0.6232, allocations: 85.05 kB / 0.7678 GB, free: 15.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.6234, allocations: 4 kB / 0.7678 GB, free: 15.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001211/0.6235, allocations: 103.2 kB / 0.7679 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.22e-05/0.6236, allocations: 15.98 kB / 0.7679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.6236, allocations: 0 / 0.7679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.6236, allocations: 12 kB / 0.7679 GB, free: 15.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.6238, allocations: 0 / 0.7679 GB, free: 15.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.6241, allocations: 59.92 kB / 0.768 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.6244, allocations: 0.6958 MB / 0.7686 GB, free: 14.95 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6244, allocations: 3.938 kB / 0.7687 GB, free: 14.95 MB / 490.7 MB Notification: Performance of Templates: time 0.002383/0.6268, allocations: 446.2 kB / 0.7691 GB, free: 14.54 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)