Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [: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 1.01/1.01, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001383/0.001384, allocations: 166.5 kB / 171.6 MB, free: 2 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.327/1.327, allocations: 170.5 MB / 373.9 MB, free: 15.93 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.001776/0.001777, allocations: 100.7 kB / 444.4 MB, free: 9.469 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.4093/0.4094, allocations: 73.4 MB / 0.666 GB, free: 62.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.549, allocations: 103.3 MB / 0.7669 GB, free: 1.035 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.5493, allocations: 83.19 kB / 0.7669 GB, free: 0.957 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.02258/0.5719, allocations: 6.986 MB / 0.7738 GB, free: 10.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.5719, allocations: 0 / 0.7738 GB, free: 10.05 MB / 490.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.0004438/0.5724, allocations: 372.1 kB / 0.7741 GB, free: 9.645 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5724, allocations: 8.031 kB / 0.7741 GB, free: 9.637 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.5726, allocations: 10.02 kB / 0.7741 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.5728, allocations: 163 kB / 0.7743 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.5728, allocations: 0 / 0.7743 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.5728, allocations: 11.89 kB / 0.7743 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.823e-05/0.5729, allocations: 13.88 kB / 0.7743 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.092e-05/0.573, allocations: 34.44 kB / 0.7743 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.573, allocations: 0 / 0.7743 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.573, allocations: 4 kB / 0.7744 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.573, allocations: 4 kB / 0.7744 GB, free: 9.359 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.5732, allocations: 134.2 kB / 0.7745 GB, free: 9.191 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/0.5741, allocations: 126.5 kB / 0.7746 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.5742, allocations: 20.94 kB / 0.7746 GB, free: 9.035 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.5744, allocations: 89 kB / 0.7747 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.5744, allocations: 36.06 kB / 0.7747 GB, free: 8.887 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.5744, allocations: 0 / 0.7747 GB, free: 8.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001928/0.5746, allocations: 49.69 kB / 0.7748 GB, free: 8.832 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.5746, allocations: 51.41 kB / 0.7748 GB, free: 8.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.5747, allocations: 89 kB / 0.7749 GB, free: 8.676 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.5747, allocations: 25.7 kB / 0.775 GB, free: 8.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.5748, allocations: 80.14 kB / 0.775 GB, free: 8.562 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.5748, allocations: 23.73 kB / 0.775 GB, free: 8.539 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.5748, allocations: 0 / 0.775 GB, free: 8.539 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5749, allocations: 310.8 kB / 0.7753 GB, free: 8.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.575, allocations: 8 kB / 0.7754 GB, free: 8.219 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.575, allocations: 4 kB / 0.7754 GB, free: 8.215 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.575, allocations: 11.98 kB / 0.7754 GB, free: 8.203 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.575, allocations: 8.125 kB / 0.7754 GB, free: 8.195 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00011/0.5752, allocations: 45.69 kB / 0.7754 GB, free: 8.145 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5752, allocations: 4 kB / 0.7754 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5752, allocations: 7 kB / 0.7754 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.5752, allocations: 4 kB / 0.7754 GB, free: 8.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.5753, allocations: 7.938 kB / 0.7754 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5753, allocations: 0 / 0.7754 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.5753, allocations: 0 / 0.7754 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5754, allocations: 7.984 kB / 0.7755 GB, free: 8.117 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 (4): * Single equations (assignments): 4 * 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.234e-05/0.5754, allocations: 105.9 kB / 0.7756 GB, free: 8.008 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.5755, allocations: 7.906 kB / 0.7756 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.5757, allocations: 70.08 kB / 0.7756 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.5757, allocations: 4.188 kB / 0.7756 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.5757, allocations: 0 / 0.7756 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5757, allocations: 3.984 kB / 0.7756 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.5758, allocations: 138.1 kB / 0.7758 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5759, allocations: 1.25 kB / 0.7758 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.5759, allocations: 8 kB / 0.7758 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.5759, allocations: 0 / 0.7758 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.5759, allocations: 0 / 0.7758 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5759, allocations: 4 kB / 0.7758 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.576, allocations: 0 / 0.7758 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001385/0.5761, allocations: 85.53 kB / 0.7759 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.5762, allocations: 89.03 kB / 0.7759 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.5762, allocations: 0 / 0.7759 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.5763, allocations: 1.625 kB / 0.7759 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.5763, allocations: 4 kB / 0.7759 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.5763, allocations: 4 kB / 0.776 GB, free: 7.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.521e-05/0.5763, allocations: 79.27 kB / 0.776 GB, free: 7.441 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00035/0.5767, allocations: 63.94 kB / 0.7761 GB, free: 7.379 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 (5): * Single equations (assignments): 5 * 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.0005336/0.5772, allocations: 207.6 kB / 0.7763 GB, free: 7.176 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.782e-05/0.5773, allocations: 27.92 kB / 0.7763 GB, free: 7.148 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5774, allocations: 0 / 0.7763 GB, free: 7.148 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.5774, allocations: 16 kB / 0.7763 GB, free: 7.133 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.5775, allocations: 3.672 kB / 0.7763 GB, free: 7.133 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.5778, allocations: 67.86 kB / 0.7764 GB, free: 7.043 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.5781, allocations: 0.6932 MB / 0.7771 GB, free: 6.328 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5781, allocations: 0 / 0.7771 GB, free: 6.328 MB / 490.7 MB Notification: Performance of Templates: time 0.004421/0.5826, allocations: 1.237 MB / 0.7783 GB, free: 5.113 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)