Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [: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.7375/0.7375, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001261/0.001261, allocations: 167 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.29/1.29, allocations: 170.5 MB / 373.9 MB, free: 15.91 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.001652/0.001651, allocations: 109.3 kB / 444.4 MB, free: 9.426 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.3978/0.3979, allocations: 73.39 MB / 0.666 GB, free: 62.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.5613, allocations: 127.4 MB / 0.7905 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5616, allocations: 77.09 kB / 0.7905 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003778/0.5654, allocations: 1.3 MB / 0.7918 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5654, allocations: 0 / 0.7918 GB, free: 7.461 MB / 0.4948 GB 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.0002746/0.5657, allocations: 318.5 kB / 0.7921 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5658, allocations: 9.812 kB / 0.7921 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.5658, allocations: 2.219 kB / 0.7921 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.566, allocations: 178.9 kB / 0.7923 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/0.566, allocations: 33.69 kB / 0.7923 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.5661, allocations: 4 kB / 0.7923 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.296e-05/0.5661, allocations: 4 kB / 0.7923 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.113e-05/0.5662, allocations: 30.97 kB / 0.7924 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5662, allocations: 0 / 0.7924 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5662, allocations: 0 / 0.7924 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.5662, allocations: 0 / 0.7924 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.5664, allocations: 142.1 kB / 0.7925 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.961e-05/0.5665, allocations: 30.52 kB / 0.7925 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.5665, allocations: 8.859 kB / 0.7925 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.5667, allocations: 89.23 kB / 0.7926 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.5668, allocations: 34.56 kB / 0.7927 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.5668, allocations: 1.641 kB / 0.7927 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001902/0.567, allocations: 41.69 kB / 0.7927 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.567, allocations: 63.39 kB / 0.7928 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.5671, allocations: 92.94 kB / 0.7928 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.5671, allocations: 28.98 kB / 0.7929 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.5671, allocations: 80.14 kB / 0.793 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.5672, allocations: 11.81 kB / 0.793 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.5672, allocations: 0 / 0.793 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5673, allocations: 310.8 kB / 0.7933 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.5673, allocations: 4 kB / 0.7933 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.5673, allocations: 7.938 kB / 0.7933 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.195e-05/0.5674, allocations: 11.98 kB / 0.7933 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5674, allocations: 4 kB / 0.7933 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.919e-05/0.5675, allocations: 42.48 kB / 0.7933 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5675, allocations: 8 kB / 0.7933 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5675, allocations: 0 / 0.7933 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5675, allocations: 3.984 kB / 0.7933 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.5676, allocations: 4 kB / 0.7933 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.5676, allocations: 0 / 0.7933 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.5677, allocations: 10.28 kB / 0.7934 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.5677, allocations: 0 / 0.7934 GB, free: 5.668 MB / 0.4948 GB 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 (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 prepare postOptimizeDAE: time 7.147e-05/0.5678, allocations: 108.9 kB / 0.7935 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.5678, allocations: 0 / 0.7935 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.568, allocations: 62.7 kB / 0.7935 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.568, allocations: 4 kB / 0.7935 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.568, allocations: 0 / 0.7935 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.568, allocations: 0 / 0.7935 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.006e-05/0.5681, allocations: 130.2 kB / 0.7936 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5681, allocations: 0 / 0.7936 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.5681, allocations: 8 kB / 0.7937 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.5682, allocations: 4 kB / 0.7937 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5682, allocations: 0 / 0.7937 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5682, allocations: 3.906 kB / 0.7937 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5682, allocations: 0 / 0.7937 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001217/0.5683, allocations: 73.11 kB / 0.7937 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.5684, allocations: 81.02 kB / 0.7938 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.5684, allocations: 3.938 kB / 0.7938 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.5685, allocations: 8.547 kB / 0.7938 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.5685, allocations: 5.219 kB / 0.7938 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.5685, allocations: 4.781 kB / 0.7938 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.29e-05/0.5686, allocations: 79.28 kB / 0.7939 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002312/0.5688, allocations: 11.94 kB / 0.7939 GB, free: 5.012 MB / 0.4948 GB 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.0002557/0.5691, allocations: 142 kB / 0.7941 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.5692, allocations: 8 kB / 0.7941 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5692, allocations: 0 / 0.7941 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.5692, allocations: 15.98 kB / 0.7941 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.5694, allocations: 4.938 kB / 0.7941 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.5697, allocations: 59.86 kB / 0.7941 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.57, allocations: 0.6876 MB / 0.7948 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of SimCode: time 2.2e-07/0.57, allocations: 0 / 0.7948 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of Templates: time 0.002983/0.573, allocations: 0.7237 MB / 0.7955 GB, free: 3.355 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)