Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.679/0.679, allocations: 132.3 MB / 144.9 MB, free: 10.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 168.8 kB / 176.9 MB, free: 2.25 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.176/1.176, allocations: 170.5 MB / 379.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001478/0.001478, allocations: 109.6 kB / 450 MB, free: 5.855 MB / 346.7 MB [/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.4172/0.4173, allocations: 73.39 MB / 0.6736 GB, free: 47.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.5371, allocations: 101.9 MB / 0.7731 GB, free: 14.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5374, allocations: 79.94 kB / 0.7732 GB, free: 14.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004166/0.5416, allocations: 1.483 MB / 0.7746 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5416, allocations: 0 / 0.7746 GB, free: 13.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.5417, allocations: 0 / 0.7746 GB, free: 13.32 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002729/0.5419, allocations: 331.2 kB / 0.7749 GB, free: 12.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.542, allocations: 9.344 kB / 0.7749 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.5422, allocations: 26.72 kB / 0.775 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5423, allocations: 164.9 kB / 0.7751 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.5423, allocations: 0 / 0.7751 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.5423, allocations: 0 / 0.7751 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.5424, allocations: 45.62 kB / 0.7752 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.5425, allocations: 0 / 0.7752 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5425, allocations: 11.61 kB / 0.7752 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.5425, allocations: 0 / 0.7752 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.5425, allocations: 16 kB / 0.7752 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.5427, allocations: 153.7 kB / 0.7753 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.5444, allocations: 274.4 kB / 0.7756 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.5444, allocations: 24.86 kB / 0.7756 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.5444, allocations: 0 / 0.7756 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.5445, allocations: 32.34 kB / 0.7756 GB, free: 12.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.5445, allocations: 0 / 0.7756 GB, free: 12.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001279/0.5446, allocations: 57.73 kB / 0.7757 GB, free: 12.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.5446, allocations: 55.34 kB / 0.7758 GB, free: 11.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/0.5447, allocations: 89 kB / 0.7758 GB, free: 11.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.5447, allocations: 25.7 kB / 0.7759 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.5447, allocations: 80.14 kB / 0.7759 GB, free: 11.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.5448, allocations: 19.75 kB / 0.776 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.5448, allocations: 0 / 0.776 GB, free: 11.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.5449, allocations: 310.8 kB / 0.7763 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.5449, allocations: 12 kB / 0.7763 GB, free: 11.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.5449, allocations: 10.19 kB / 0.7763 GB, free: 11.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.545, allocations: 12.12 kB / 0.7763 GB, free: 11.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.545, allocations: 0 / 0.7763 GB, free: 11.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.206e-05/0.545, allocations: 53.69 kB / 0.7763 GB, free: 11.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5451, allocations: 4 kB / 0.7763 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5451, allocations: 4 kB / 0.7763 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5451, allocations: 2.5 kB / 0.7764 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.5451, allocations: 11.89 kB / 0.7764 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.5452, allocations: 1.688 kB / 0.7764 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.5452, allocations: 0 / 0.7764 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.5452, allocations: 4 kB / 0.7764 GB, free: 11.32 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.506e-05/0.5453, allocations: 105 kB / 0.7765 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.5453, allocations: 7.891 kB / 0.7765 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.5453, allocations: 7.5 kB / 0.7765 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5453, allocations: 7.938 kB / 0.7765 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5453, allocations: 3.953 kB / 0.7765 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5453, allocations: 0 / 0.7765 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.225e-05/0.5454, allocations: 153.7 kB / 0.7766 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5454, allocations: 0 / 0.7766 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.5455, allocations: 8 kB / 0.7766 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.5455, allocations: 4 kB / 0.7767 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.5455, allocations: 4 kB / 0.7767 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5455, allocations: 0 / 0.7767 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5455, allocations: 0 / 0.7767 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.99e-05/0.5456, allocations: 83.92 kB / 0.7767 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.5457, allocations: 85.09 kB / 0.7768 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.5457, allocations: 2.531 kB / 0.7768 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.5458, allocations: 2.5 kB / 0.7768 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.5458, allocations: 4 kB / 0.7768 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.5458, allocations: 4 kB / 0.7768 GB, free: 10.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.086e-05/0.5458, allocations: 79.28 kB / 0.7769 GB, free: 10.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5458, allocations: 0 / 0.7769 GB, free: 10.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.546, allocations: 11.95 kB / 0.7769 GB, free: 10.67 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.554e-05/0.5461, allocations: 99.23 kB / 0.777 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.084e-05/0.5462, allocations: 24 kB / 0.777 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5462, allocations: 0 / 0.777 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.977e-05/0.5462, allocations: 20.03 kB / 0.7771 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.5464, allocations: 7.984 kB / 0.7771 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.5466, allocations: 79.55 kB / 0.7771 GB, free: 10.42 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.5468, allocations: 0.677 MB / 0.7778 GB, free: 9.719 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.647e-05/0.5469, allocations: 8 kB / 0.7778 GB, free: 9.711 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.5469, allocations: 7.438 kB / 0.7778 GB, free: 9.707 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5469, allocations: 0 / 0.7778 GB, free: 9.707 MB / 490.7 MB Notification: Performance of Templates: time 0.001987/0.5489, allocations: 484.9 kB / 0.7783 GB, free: 9.27 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)