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.199/0.2013, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002416/0.2038, allocations: 1.265 MB / 0.6719 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6331/0.8369, allocations: 132 MB / 0.8008 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.8371, allocations: 1 kB / 0.8008 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.8372, allocations: 4 kB / 0.8008 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/0.8373, allocations: 8 kB / 0.8008 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.8379, allocations: 63.53 kB / 0.8009 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.8381, allocations: 16.98 kB / 0.8009 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.2e-05/0.8382, allocations: 6.797 kB / 0.8009 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.8382, allocations: 5.625 kB / 0.8009 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.8383, allocations: 10.03 kB / 0.8009 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.8384, allocations: 1.188 kB / 0.8009 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.8385, allocations: 17.45 kB / 0.8009 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.8386, allocations: 6.078 kB / 0.8009 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.8386, allocations: 15.53 kB / 0.8009 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.8388, allocations: 27.52 kB / 0.801 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.8388, allocations: 1.938 kB / 0.801 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8389, allocations: 0 / 0.801 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8389, allocations: 0 / 0.801 GB, free: 12.48 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.0006157/0.8395, allocations: 329.5 kB / 0.8013 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.8396, allocations: 8.719 kB / 0.8013 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.8396, allocations: 9.734 kB / 0.8013 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.8398, allocations: 161.8 kB / 0.8015 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.8399, allocations: 36.77 kB / 0.8015 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.84, allocations: 3.609 kB / 0.8015 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.8402, allocations: 38.25 kB / 0.8015 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.8402, allocations: 3.938 kB / 0.8015 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.8402, allocations: 2.344 kB / 0.8015 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.8402, allocations: 1.469 kB / 0.8015 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.8404, allocations: 13.16 kB / 0.8015 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.8406, allocations: 160.2 kB / 0.8017 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.8408, allocations: 35.67 kB / 0.8017 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.8409, allocations: 18.22 kB / 0.8018 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.8411, allocations: 87.41 kB / 0.8018 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.8412, allocations: 33.14 kB / 0.8019 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.8412, allocations: 0 / 0.8019 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0003126/0.8415, allocations: 63.34 kB / 0.8019 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.8416, allocations: 52.56 kB / 0.802 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.8417, allocations: 99.34 kB / 0.8021 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.8417, allocations: 26.86 kB / 0.8021 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.8417, allocations: 80.14 kB / 0.8022 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.8418, allocations: 14.64 kB / 0.8022 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.8418, allocations: 16.16 kB / 0.8022 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.842, allocations: 318.6 kB / 0.8025 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.8421, allocations: 8.625 kB / 0.8025 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.163e-05/0.8421, allocations: 5.938 kB / 0.8025 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.8422, allocations: 26.72 kB / 0.8025 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8423, allocations: 0 / 0.8025 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001668/0.8424, allocations: 52.28 kB / 0.8026 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.8425, allocations: 13.06 kB / 0.8026 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8425, allocations: 4 kB / 0.8026 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.8425, allocations: 1.062 kB / 0.8026 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.8426, allocations: 7.172 kB / 0.8026 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.8426, allocations: 0 / 0.8026 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.8427, allocations: 2.125 kB / 0.8026 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.8427, allocations: 4.281 kB / 0.8026 GB, free: 10.79 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 0.000111/0.8428, allocations: 112.6 kB / 0.8027 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.8428, allocations: 5.094 kB / 0.8027 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.843, allocations: 65.09 kB / 0.8028 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8431, allocations: 0 / 0.8028 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8431, allocations: 1.094 kB / 0.8028 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8431, allocations: 0 / 0.8028 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.8432, allocations: 154.2 kB / 0.803 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8432, allocations: 0 / 0.803 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.8433, allocations: 7.859 kB / 0.803 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.8433, allocations: 4.5 kB / 0.803 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.8433, allocations: 1.094 kB / 0.803 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.8433, allocations: 0.875 kB / 0.803 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8434, allocations: 1.031 kB / 0.803 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.8436, allocations: 88.77 kB / 0.803 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.8436, allocations: 79.77 kB / 0.8031 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.8437, allocations: 3.938 kB / 0.8031 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.8437, allocations: 3.5 kB / 0.8031 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.8438, allocations: 2.281 kB / 0.8031 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.8438, allocations: 3.312 kB / 0.8031 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.8439, allocations: 86.84 kB / 0.8032 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8439, allocations: 0 / 0.8032 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003325/0.8442, allocations: 10.16 kB / 0.8032 GB, free: 10.17 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.0002404/0.8445, allocations: 116.9 kB / 0.8033 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.8447, allocations: 21.09 kB / 0.8034 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8447, allocations: 0 / 0.8034 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.8448, allocations: 16.64 kB / 0.8034 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.8451, allocations: 12.28 kB / 0.8034 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.8456, allocations: 117.8 kB / 0.8035 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.846, allocations: 0.6795 MB / 0.8042 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.474e-05/0.846, allocations: 13.17 kB / 0.8042 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.8461, allocations: 9.531 kB / 0.8042 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.8461, allocations: 0.9375 kB / 0.8042 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of Templates: time 0.003998/0.8501, allocations: 0.5241 MB / 0.8047 GB, free: 9.184 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)