Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [/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.2318/0.2339, allocations: 80.84 MB / 0.6706 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003149/0.2371, allocations: 1.483 MB / 0.6721 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.7289/0.966, allocations: 132.1 MB / 0.801 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.9662, allocations: 0 / 0.801 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.448e-05/0.9664, allocations: 3.938 kB / 0.801 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.9665, allocations: 11.86 kB / 0.8011 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.9671, allocations: 63.72 kB / 0.8011 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.9673, allocations: 55.78 kB / 0.8012 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.9674, allocations: 16 kB / 0.8012 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.9675, allocations: 19.92 kB / 0.8012 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.096e-05/0.9675, allocations: 31.89 kB / 0.8012 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.9676, allocations: 4 kB / 0.8012 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.9677, allocations: 18.44 kB / 0.8013 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.9677, allocations: 15.92 kB / 0.8013 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.9678, allocations: 23.86 kB / 0.8013 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.9679, allocations: 49.77 kB / 0.8013 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.9679, allocations: 0 / 0.8013 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9679, allocations: 0 / 0.8013 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.968, allocations: 7.984 kB / 0.8013 GB, free: 12.6 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000672/0.9686, allocations: 370.5 kB / 0.8017 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.9687, allocations: 8.031 kB / 0.8017 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.9687, allocations: 4.938 kB / 0.8017 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.9689, allocations: 181.8 kB / 0.8019 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.9689, allocations: 4.375 kB / 0.8019 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.969, allocations: 4.375 kB / 0.8019 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.9692, allocations: 78.16 kB / 0.802 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.9693, allocations: 192 / 0.802 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.9693, allocations: 7.922 kB / 0.802 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.9693, allocations: 0 / 0.802 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.9696, allocations: 71.86 kB / 0.802 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.9701, allocations: 284.7 kB / 0.8023 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.9703, allocations: 62.47 kB / 0.8024 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.9705, allocations: 32.92 kB / 0.8024 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.9707, allocations: 93.09 kB / 0.8025 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.9708, allocations: 34.56 kB / 0.8025 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9708, allocations: 0 / 0.8025 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006035/0.9714, allocations: 129.5 kB / 0.8027 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.9714, allocations: 55.41 kB / 0.8027 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.9716, allocations: 119.3 kB / 0.8028 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.9716, allocations: 27.02 kB / 0.8028 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.9717, allocations: 96.03 kB / 0.8029 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.9717, allocations: 11.91 kB / 0.803 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.9718, allocations: 13.72 kB / 0.803 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.9719, allocations: 322.8 kB / 0.8033 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.9721, allocations: 31.97 kB / 0.8033 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.9722, allocations: 31.97 kB / 0.8033 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.9725, allocations: 64.78 kB / 0.8034 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9725, allocations: 4 kB / 0.8034 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003378/0.9729, allocations: 101.6 kB / 0.8035 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.9729, allocations: 7.984 kB / 0.8035 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9729, allocations: 0 / 0.8035 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.973, allocations: 0 / 0.8035 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.9731, allocations: 15.98 kB / 0.8035 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.9731, allocations: 3.938 kB / 0.8035 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.661e-05/0.9732, allocations: 23.83 kB / 0.8035 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.9733, allocations: 0 / 0.8035 GB, free: 10.12 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.9734, allocations: 122.4 kB / 0.8037 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.9734, allocations: 0 / 0.8037 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.9738, allocations: 111.9 kB / 0.8038 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.9739, allocations: 7.938 kB / 0.8038 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9739, allocations: 0 / 0.8038 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.9739, allocations: 4 kB / 0.8038 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.9741, allocations: 177.6 kB / 0.8039 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.9741, allocations: 3.984 kB / 0.804 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.243e-05/0.9742, allocations: 11.98 kB / 0.804 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.9742, allocations: 4.375 kB / 0.804 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.9742, allocations: 0 / 0.804 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.9742, allocations: 0.5625 kB / 0.804 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9742, allocations: 0 / 0.804 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.9746, allocations: 207.3 kB / 0.8042 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.9747, allocations: 81.11 kB / 0.8042 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.9747, allocations: 0 / 0.8042 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.9748, allocations: 12.98 kB / 0.8043 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.9749, allocations: 7.984 kB / 0.8043 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.9749, allocations: 0 / 0.8043 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.975, allocations: 102.1 kB / 0.8044 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.975, allocations: 0 / 0.8044 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002457/0.9752, allocations: 19.91 kB / 0.8044 GB, free: 9.16 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.9754, allocations: 103.2 kB / 0.8045 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.9758, allocations: 75.91 kB / 0.8046 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9758, allocations: 0 / 0.8046 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.976, allocations: 31.97 kB / 0.8046 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.9763, allocations: 24.47 kB / 0.8046 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.9767, allocations: 156.1 kB / 0.8048 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.977, allocations: 0.6846 MB / 0.8054 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.9771, allocations: 0 / 0.8054 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.9771, allocations: 11.44 kB / 0.8054 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.9771, allocations: 0 / 0.8054 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.003739/0.9809, allocations: 0.9991 MB / 0.8064 GB, free: 7.035 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)