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.183/0.1852, allocations: 80.83 MB / 0.6706 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003129/0.1884, allocations: 1.489 MB / 0.6721 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5877/0.7761, allocations: 132.1 MB / 0.801 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.7762, allocations: 0 / 0.801 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.7762, allocations: 5 kB / 0.801 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.7763, allocations: 7.562 kB / 0.8011 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.7767, allocations: 67.64 kB / 0.8011 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.577e-05/0.7768, allocations: 54.31 kB / 0.8012 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.7769, allocations: 18.55 kB / 0.8012 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/0.777, allocations: 23.06 kB / 0.8012 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.777, allocations: 22.52 kB / 0.8012 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.777, allocations: 5.094 kB / 0.8012 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.7771, allocations: 20 kB / 0.8013 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.7771, allocations: 13.64 kB / 0.8013 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.7772, allocations: 23.09 kB / 0.8013 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.7773, allocations: 55.14 kB / 0.8013 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7773, allocations: 0 / 0.8013 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7773, allocations: 4 kB / 0.8013 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7773, allocations: 0 / 0.8013 GB, free: 12.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005066/0.7779, allocations: 372.9 kB / 0.8017 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.7779, allocations: 8.875 kB / 0.8017 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.7779, allocations: 8.156 kB / 0.8017 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.7781, allocations: 171.6 kB / 0.8019 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.7781, allocations: 4.812 kB / 0.8019 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.7781, allocations: 3.5 kB / 0.8019 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.7784, allocations: 79.59 kB / 0.802 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.7784, allocations: 5.469 kB / 0.802 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7784, allocations: 9.188 kB / 0.802 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7784, allocations: 1.406 kB / 0.802 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.7787, allocations: 64.73 kB / 0.802 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.779, allocations: 288.3 kB / 0.8023 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.7793, allocations: 59.11 kB / 0.8024 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.7794, allocations: 40.38 kB / 0.8024 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.7796, allocations: 93.55 kB / 0.8025 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7797, allocations: 31.94 kB / 0.8025 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.7797, allocations: 0 / 0.8025 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005757/0.7802, allocations: 129.7 kB / 0.8027 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.7803, allocations: 58.58 kB / 0.8027 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.7804, allocations: 115.2 kB / 0.8028 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.7804, allocations: 26.8 kB / 0.8029 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.7805, allocations: 94.94 kB / 0.8029 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.7805, allocations: 8.844 kB / 0.8029 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.7806, allocations: 16.59 kB / 0.803 GB, free: 11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7807, allocations: 318.3 kB / 0.8033 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.7808, allocations: 36.66 kB / 0.8033 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.781, allocations: 32.8 kB / 0.8033 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.7813, allocations: 68.25 kB / 0.8034 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7813, allocations: 4 kB / 0.8034 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003285/0.7816, allocations: 95.89 kB / 0.8035 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7816, allocations: 12.16 kB / 0.8035 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7816, allocations: 0 / 0.8035 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.7817, allocations: 0 / 0.8035 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.7818, allocations: 14.67 kB / 0.8035 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.7818, allocations: 1.25 kB / 0.8035 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.7819, allocations: 31.2 kB / 0.8036 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.7819, allocations: 1.125 kB / 0.8036 GB, free: 10.62 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 7.751e-05/0.782, allocations: 114.2 kB / 0.8037 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.782, allocations: 2.281 kB / 0.8037 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.7824, allocations: 112 kB / 0.8038 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7824, allocations: 3.938 kB / 0.8038 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7824, allocations: 1.094 kB / 0.8038 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7824, allocations: 0 / 0.8038 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.7826, allocations: 172.2 kB / 0.8039 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7826, allocations: 5.094 kB / 0.8039 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/0.7827, allocations: 18.7 kB / 0.804 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7827, allocations: 0 / 0.804 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.7827, allocations: 1.531 kB / 0.804 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7827, allocations: 0 / 0.804 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7827, allocations: 6.531 kB / 0.804 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.7831, allocations: 199.8 kB / 0.8042 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.7832, allocations: 78.88 kB / 0.8042 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.7832, allocations: 1.781 kB / 0.8042 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7833, allocations: 16.22 kB / 0.8043 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.7834, allocations: 3.578 kB / 0.8043 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.7834, allocations: 1.719 kB / 0.8043 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.7834, allocations: 95.3 kB / 0.8043 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7835, allocations: 0 / 0.8043 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002332/0.7837, allocations: 18.62 kB / 0.8044 GB, free: 9.938 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.0001413/0.7838, allocations: 110.4 kB / 0.8045 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.7842, allocations: 77.56 kB / 0.8045 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7842, allocations: 0 / 0.8045 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.7844, allocations: 35.97 kB / 0.8046 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.7847, allocations: 15.25 kB / 0.8046 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.7851, allocations: 165.7 kB / 0.8048 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.7853, allocations: 0.6822 MB / 0.8054 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.7854, allocations: 2.25 kB / 0.8054 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.7854, allocations: 12.14 kB / 0.8054 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.7854, allocations: 0 / 0.8054 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of Templates: time 0.00348/0.7889, allocations: 1.029 MB / 0.8064 GB, free: 8.902 MB / 0.5919 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)