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.2468/0.2475, allocations: 82.21 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002009/0.2496, allocations: 1.205 MB / 0.5946 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.7073/0.9569, allocations: 119.6 MB / 0.7115 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.9571, allocations: 2.5 kB / 0.7115 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.9571, allocations: 5.531 kB / 0.7115 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.9572, allocations: 9.562 kB / 0.7115 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.9577, allocations: 59.38 kB / 0.7115 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.9578, allocations: 51.84 kB / 0.7116 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.9579, allocations: 11.62 kB / 0.7116 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.958, allocations: 18.08 kB / 0.7116 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.9581, allocations: 23.12 kB / 0.7116 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.9581, allocations: 3.094 kB / 0.7116 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.9582, allocations: 12.89 kB / 0.7116 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.9583, allocations: 7.141 kB / 0.7117 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.9584, allocations: 36.11 kB / 0.7117 GB, free: 16.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.9586, allocations: 42.31 kB / 0.7117 GB, free: 16.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.9586, allocations: 0 / 0.7117 GB, free: 16.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.727e-06/0.9586, allocations: 0 / 0.7117 GB, free: 16.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.9586, allocations: 0 / 0.7117 GB, free: 16.95 MB / 0.545 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.0006744/0.9593, allocations: 377.8 kB / 0.7121 GB, free: 16.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.9594, allocations: 10.62 kB / 0.7121 GB, free: 16.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.9594, allocations: 9.562 kB / 0.7121 GB, free: 16.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.9596, allocations: 164.1 kB / 0.7123 GB, free: 16.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.9596, allocations: 0 / 0.7123 GB, free: 16.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.9596, allocations: 7.047 kB / 0.7123 GB, free: 16.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.96, allocations: 91.61 kB / 0.7124 GB, free: 16.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.96, allocations: 0 / 0.7124 GB, free: 16.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.96, allocations: 1.75 kB / 0.7124 GB, free: 16.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.96, allocations: 0 / 0.7124 GB, free: 16.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.9603, allocations: 96.06 kB / 0.7125 GB, free: 16.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.9608, allocations: 283.8 kB / 0.7127 GB, free: 16.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.961, allocations: 72.8 kB / 0.7128 GB, free: 16.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.9612, allocations: 49.95 kB / 0.7128 GB, free: 16.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.9614, allocations: 90.55 kB / 0.7129 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.9614, allocations: 33.81 kB / 0.713 GB, free: 15.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.9614, allocations: 3.984 kB / 0.713 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005373/0.962, allocations: 168.8 kB / 0.7131 GB, free: 15.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.962, allocations: 53.47 kB / 0.7132 GB, free: 15.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.9621, allocations: 117.9 kB / 0.7133 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.9622, allocations: 25.7 kB / 0.7133 GB, free: 15.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.9623, allocations: 91.52 kB / 0.7134 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.9623, allocations: 6.156 kB / 0.7134 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/0.9623, allocations: 0 / 0.7134 GB, free: 15.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.9625, allocations: 328.6 kB / 0.7137 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.9626, allocations: 40.53 kB / 0.7138 GB, free: 15.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.9628, allocations: 45.48 kB / 0.7138 GB, free: 15.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.9629, allocations: 40.17 kB / 0.7138 GB, free: 15.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9629, allocations: 0 / 0.7138 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002878/0.9632, allocations: 123.2 kB / 0.714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9632, allocations: 5.688 kB / 0.714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.9632, allocations: 4 kB / 0.714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.9633, allocations: 0 / 0.714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.9634, allocations: 27.12 kB / 0.714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.9634, allocations: 0 / 0.714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.9635, allocations: 16.22 kB / 0.714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.9635, allocations: 6.75 kB / 0.714 GB, free: 15.19 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/0.9636, allocations: 120.9 kB / 0.7141 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.9636, allocations: 6.719 kB / 0.7141 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.964, allocations: 125.4 kB / 0.7143 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.964, allocations: 0 / 0.7143 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.9641, allocations: 0 / 0.7143 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.9641, allocations: 5.156 kB / 0.7143 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.9643, allocations: 178 kB / 0.7144 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9643, allocations: 0.625 kB / 0.7144 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.9644, allocations: 26.97 kB / 0.7145 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9644, allocations: 0 / 0.7145 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.9644, allocations: 2.75 kB / 0.7145 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.9644, allocations: 3.656 kB / 0.7145 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9644, allocations: 0 / 0.7145 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.9648, allocations: 217.6 kB / 0.7147 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.9649, allocations: 83.77 kB / 0.7147 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.9649, allocations: 4 kB / 0.7148 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.965, allocations: 18.08 kB / 0.7148 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.9651, allocations: 8.297 kB / 0.7148 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.9651, allocations: 2.391 kB / 0.7148 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.796e-05/0.9651, allocations: 92.81 kB / 0.7149 GB, free: 14.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9651, allocations: 0 / 0.7149 GB, free: 14.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002316/0.9654, allocations: 15.41 kB / 0.7149 GB, free: 14.51 MB / 0.545 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 (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.0001932/0.9656, allocations: 115 kB / 0.715 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.9659, allocations: 93.44 kB / 0.7151 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9659, allocations: 0 / 0.7151 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.9661, allocations: 47.25 kB / 0.7151 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.9664, allocations: 15.44 kB / 0.7151 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.9668, allocations: 176.9 kB / 0.7153 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.9671, allocations: 0.6884 MB / 0.716 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.9672, allocations: 11.97 kB / 0.716 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.9672, allocations: 11.25 kB / 0.716 GB, free: 13.54 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.9672, allocations: 0 / 0.716 GB, free: 13.54 MB / 0.545 GB Notification: Performance of Templates: time 0.003669/0.9709, allocations: 0.8138 MB / 0.7168 GB, free: 13.48 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: