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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6675/0.6675, allocations: 132.3 MB / 144.9 MB, free: 10.68 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.0009696/0.0009696, allocations: 173 kB / 176.9 MB, free: 2.207 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.193/1.193, allocations: 170.5 MB / 379.3 MB, free: 11.84 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.001524/0.001524, allocations: 109 kB / 450 MB, free: 5.75 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.4122/0.4123, allocations: 73.39 MB / 0.6736 GB, free: 47.67 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.5661, allocations: 128.2 MB / 0.7988 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.5664, allocations: 77.64 kB / 0.7988 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003571/0.57, allocations: 1.628 MB / 0.8004 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.57, allocations: 0 / 0.8004 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.57, allocations: 4.188 kB / 0.8004 GB, free: 2.793 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.0002658/0.5703, allocations: 321.2 kB / 0.8007 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.5703, allocations: 8.031 kB / 0.8008 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.5704, allocations: 5.875 kB / 0.8008 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.5705, allocations: 168.1 kB / 0.8009 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.5706, allocations: 35.58 kB / 0.801 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5706, allocations: 3.609 kB / 0.801 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.292e-05/0.5707, allocations: 34.78 kB / 0.801 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.5707, allocations: 4 kB / 0.801 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.5707, allocations: 0.5625 kB / 0.801 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5707, allocations: 4 kB / 0.801 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.5708, allocations: 8 kB / 0.801 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.5709, allocations: 157.7 kB / 0.8012 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.571, allocations: 37.05 kB / 0.8012 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.5711, allocations: 8.859 kB / 0.8012 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.5712, allocations: 93.19 kB / 0.8013 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5712, allocations: 34.56 kB / 0.8013 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5712, allocations: 3.938 kB / 0.8013 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000116/0.5714, allocations: 41.61 kB / 0.8014 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.5714, allocations: 59.33 kB / 0.8014 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.202e-05/0.5715, allocations: 93 kB / 0.8015 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.5715, allocations: 25.7 kB / 0.8015 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.5715, allocations: 84.14 kB / 0.8016 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.5716, allocations: 3.906 kB / 0.8016 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.5716, allocations: 0 / 0.8016 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5717, allocations: 317.8 kB / 0.8019 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.5717, allocations: 4 kB / 0.8019 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.5717, allocations: 4 kB / 0.8019 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.5717, allocations: 11.98 kB / 0.8019 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5718, allocations: 0 / 0.8019 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.279e-05/0.5718, allocations: 41.66 kB / 0.802 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5718, allocations: 11.98 kB / 0.802 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5719, allocations: 0 / 0.802 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5719, allocations: 3.047 kB / 0.802 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.5719, allocations: 7.938 kB / 0.802 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.572, allocations: 0 / 0.802 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.572, allocations: 4 kB / 0.802 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.572, allocations: 4 kB / 0.802 GB, free: 0.9688 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 6.64e-05/0.5721, allocations: 101.7 kB / 0.8021 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.5721, allocations: 7.953 kB / 0.8021 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.5722, allocations: 57.08 kB / 0.8022 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5722, allocations: 4 kB / 0.8022 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5722, allocations: 0 / 0.8022 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5722, allocations: 0 / 0.8022 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.5723, allocations: 156.7 kB / 0.8023 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5723, allocations: 0 / 0.8023 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.5724, allocations: 4 kB / 0.8023 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5724, allocations: 3.938 kB / 0.8023 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.5724, allocations: 3.953 kB / 0.8023 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5724, allocations: 0 / 0.8023 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5724, allocations: 9.406 kB / 0.8023 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.755e-05/0.5725, allocations: 69.12 kB / 0.8024 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.5726, allocations: 81.09 kB / 0.8025 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.5726, allocations: 3.938 kB / 0.8025 GB, free: 392 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.948e-05/0.5726, allocations: 3.953 kB / 0.8025 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.5727, allocations: 4 kB / 0.8025 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.5727, allocations: 2.906 kB / 0.8025 GB, free: 384 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.5727, allocations: 87.27 kB / 0.8026 GB, free: 296 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5727, allocations: 0 / 0.8026 GB, free: 296 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001732/0.5729, allocations: 15.94 kB / 0.8026 GB, free: 280 kB / 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.0001895/0.5731, allocations: 131.2 kB / 0.8027 GB, free: 140 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.92e-05/0.5732, allocations: 18.94 kB / 0.8027 GB, free: 124 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.5732, allocations: 0 / 0.8027 GB, free: 124 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.862e-05/0.5732, allocations: 8 kB / 0.8028 GB, free: 116 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.5733, allocations: 0 / 0.8028 GB, free: 116 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/0.5735, allocations: 64.98 kB / 0.8028 GB, free: 28 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.5737, allocations: 0.677 MB / 0.8035 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.5738, allocations: 0 / 0.8035 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.5738, allocations: 11.44 kB / 0.8035 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.5738, allocations: 4 kB / 0.8035 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.00287/0.5767, allocations: 1.019 MB / 0.8045 GB, free: 14.32 MB / 0.5105 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)