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/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.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") [/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.2278/0.2301, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002453/0.2326, allocations: 1.269 MB / 0.6719 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6411/0.8737, allocations: 132 MB / 0.8008 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.8738, allocations: 0 / 0.8008 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.8739, allocations: 1.281 kB / 0.8008 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.874, allocations: 3.938 kB / 0.8008 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.8745, allocations: 60.56 kB / 0.8009 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.8746, allocations: 26.17 kB / 0.8009 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.314e-05/0.8747, allocations: 5.156 kB / 0.8009 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.8747, allocations: 8.406 kB / 0.8009 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.8748, allocations: 10.42 kB / 0.8009 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.8748, allocations: 1.031 kB / 0.8009 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.875, allocations: 17.12 kB / 0.8009 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.875, allocations: 3.609 kB / 0.8009 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.875, allocations: 10.62 kB / 0.8009 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.8752, allocations: 26.66 kB / 0.801 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8752, allocations: 0 / 0.801 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8752, allocations: 1.094 kB / 0.801 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.8752, allocations: 0 / 0.801 GB, free: 12.46 MB / 0.5919 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.0005759/0.8758, allocations: 336.8 kB / 0.8013 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.8759, allocations: 9.438 kB / 0.8013 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.8759, allocations: 8.594 kB / 0.8013 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.8761, allocations: 161.5 kB / 0.8015 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.8762, allocations: 29.95 kB / 0.8015 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.8762, allocations: 1.562 kB / 0.8015 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.8764, allocations: 40.02 kB / 0.8015 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.8764, allocations: 7.938 kB / 0.8015 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.8765, allocations: 3.984 kB / 0.8015 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8765, allocations: 5.156 kB / 0.8015 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.8766, allocations: 11.36 kB / 0.8016 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.8768, allocations: 155.7 kB / 0.8017 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.877, allocations: 31.2 kB / 0.8017 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.8771, allocations: 11.95 kB / 0.8017 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.8773, allocations: 91.64 kB / 0.8018 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.8774, allocations: 35.25 kB / 0.8019 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.8774, allocations: 0 / 0.8019 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002993/0.8777, allocations: 61.06 kB / 0.8019 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.8778, allocations: 55.09 kB / 0.802 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.8779, allocations: 102.6 kB / 0.8021 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.8779, allocations: 25.7 kB / 0.8021 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.878, allocations: 81.2 kB / 0.8022 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.878, allocations: 17.95 kB / 0.8022 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.8781, allocations: 16.59 kB / 0.8022 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8782, allocations: 311.9 kB / 0.8025 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.8782, allocations: 5.25 kB / 0.8025 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.8783, allocations: 10.59 kB / 0.8025 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.8784, allocations: 31.36 kB / 0.8026 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8784, allocations: 3.875 kB / 0.8026 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001222/0.8785, allocations: 47.12 kB / 0.8026 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8785, allocations: 13.72 kB / 0.8026 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8786, allocations: 0 / 0.8026 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8786, allocations: 0.9688 kB / 0.8026 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.8787, allocations: 7.344 kB / 0.8026 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8787, allocations: 0 / 0.8026 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.8787, allocations: 2.062 kB / 0.8026 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.8787, allocations: 5.094 kB / 0.8026 GB, free: 10.76 MB / 0.5919 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 9.864e-05/0.8788, allocations: 117.3 kB / 0.8027 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.8789, allocations: 5 kB / 0.8027 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.879, allocations: 61.38 kB / 0.8028 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.879, allocations: 1.25 kB / 0.8028 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8791, allocations: 0 / 0.8028 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8791, allocations: 1.188 kB / 0.8028 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.8792, allocations: 152.9 kB / 0.803 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.8792, allocations: 4.906 kB / 0.803 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.8792, allocations: 4.438 kB / 0.803 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.8793, allocations: 10.97 kB / 0.803 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.8793, allocations: 0 / 0.803 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8793, allocations: 1.344 kB / 0.803 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8793, allocations: 0 / 0.803 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.8794, allocations: 79.42 kB / 0.803 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.8795, allocations: 88.89 kB / 0.8031 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.8796, allocations: 7.688 kB / 0.8031 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.916e-05/0.8796, allocations: 1.219 kB / 0.8031 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.8796, allocations: 1.219 kB / 0.8031 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.8797, allocations: 1.219 kB / 0.8031 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.8797, allocations: 83.66 kB / 0.8032 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8797, allocations: 0 / 0.8032 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001937/0.8799, allocations: 10.09 kB / 0.8032 GB, free: 10.14 MB / 0.5919 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.0001774/0.8801, allocations: 118.4 kB / 0.8033 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.8803, allocations: 19.81 kB / 0.8034 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8803, allocations: 1.031 kB / 0.8034 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.8803, allocations: 12.94 kB / 0.8034 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.8806, allocations: 10.55 kB / 0.8034 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.8809, allocations: 121.4 kB / 0.8035 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.8813, allocations: 0.6839 MB / 0.8042 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.8813, allocations: 5.328 kB / 0.8042 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.8813, allocations: 9.938 kB / 0.8042 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of SimCode: time 4.5e-07/0.8813, allocations: 0 / 0.8042 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of Templates: time 0.002648/0.884, allocations: 0.5262 MB / 0.8047 GB, free: 9.156 MB / 0.5919 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)