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/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.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") [/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.5317/0.5341, allocations: 80.82 MB / 0.5904 GB, free: 22.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00318/0.5373, allocations: 1.253 MB / 0.5916 GB, free: 21.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.538, allocations: 298.9 kB / 0.5919 GB, free: 21.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.5381, allocations: 0 / 0.5919 GB, free: 21.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.5381, allocations: 3.984 kB / 0.5919 GB, free: 21.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.5382, allocations: 5.75 kB / 0.5919 GB, free: 21.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.5386, allocations: 49.56 kB / 0.592 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.5386, allocations: 20.83 kB / 0.592 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.043e-05/0.5387, allocations: 4.188 kB / 0.592 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.5388, allocations: 4.219 kB / 0.592 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.5388, allocations: 15.55 kB / 0.592 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.5389, allocations: 0 / 0.592 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.539, allocations: 54.11 kB / 0.5921 GB, free: 21.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.5391, allocations: 4 kB / 0.5921 GB, free: 21.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.5391, allocations: 12.64 kB / 0.5921 GB, free: 21.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.5393, allocations: 42.81 kB / 0.5921 GB, free: 21.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.5393, allocations: 2.406 kB / 0.5921 GB, free: 21.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5393, allocations: 0 / 0.5921 GB, free: 21.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.5393, allocations: 0 / 0.5921 GB, free: 21.02 MB / 446.1 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.0004724/0.5398, allocations: 340.5 kB / 0.5925 GB, free: 20.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.5399, allocations: 13.83 kB / 0.5925 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.5401, allocations: 19.98 kB / 0.5925 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.5403, allocations: 162 kB / 0.5926 GB, free: 20.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.5403, allocations: 6.688 kB / 0.5926 GB, free: 20.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.5403, allocations: 5.75 kB / 0.5927 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.5405, allocations: 45.75 kB / 0.5927 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5405, allocations: 4.172 kB / 0.5927 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.5405, allocations: 7.031 kB / 0.5927 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5405, allocations: 0 / 0.5927 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.5406, allocations: 17.28 kB / 0.5927 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.5408, allocations: 158.5 kB / 0.5929 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.5427, allocations: 272.9 kB / 0.5931 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.5427, allocations: 20.84 kB / 0.5932 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.5427, allocations: 0 / 0.5932 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5428, allocations: 34.56 kB / 0.5932 GB, free: 19.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.5428, allocations: 4 kB / 0.5932 GB, free: 19.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001795/0.543, allocations: 61.7 kB / 0.5932 GB, free: 19.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.543, allocations: 55.41 kB / 0.5933 GB, free: 19.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.5431, allocations: 97.08 kB / 0.5934 GB, free: 19.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.5431, allocations: 25.7 kB / 0.5934 GB, free: 19.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.377e-05/0.5431, allocations: 80.14 kB / 0.5935 GB, free: 19.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.5431, allocations: 23.67 kB / 0.5935 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.5432, allocations: 13.72 kB / 0.5935 GB, free: 19.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.5432, allocations: 318.8 kB / 0.5938 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.5433, allocations: 12.12 kB / 0.5938 GB, free: 19.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.5433, allocations: 12.02 kB / 0.5939 GB, free: 19.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.5433, allocations: 32.8 kB / 0.5939 GB, free: 19.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5433, allocations: 0 / 0.5939 GB, free: 19.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.807e-05/0.5434, allocations: 53.69 kB / 0.5939 GB, free: 19.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5434, allocations: 4 kB / 0.5939 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5434, allocations: 3.938 kB / 0.5939 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.5435, allocations: 0 / 0.5939 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.5435, allocations: 8 kB / 0.594 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5435, allocations: 0 / 0.594 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.5436, allocations: 4 kB / 0.594 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.5436, allocations: 0 / 0.594 GB, free: 19.04 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/0.5437, allocations: 109.8 kB / 0.5941 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.5437, allocations: 0 / 0.5941 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.5437, allocations: 19.36 kB / 0.5941 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.5437, allocations: 0 / 0.5941 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5437, allocations: 0 / 0.5941 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5437, allocations: 0 / 0.5941 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.528e-05/0.5438, allocations: 161.7 kB / 0.5942 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5438, allocations: 7.938 kB / 0.5942 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.5439, allocations: 4 kB / 0.5942 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.5439, allocations: 0 / 0.5942 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.5439, allocations: 3.938 kB / 0.5943 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5439, allocations: 4 kB / 0.5943 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5439, allocations: 0 / 0.5943 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.288e-05/0.544, allocations: 77.03 kB / 0.5943 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.5441, allocations: 81.09 kB / 0.5944 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.5441, allocations: 7.938 kB / 0.5944 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.5441, allocations: 12 kB / 0.5944 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.5442, allocations: 0 / 0.5944 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.5442, allocations: 0 / 0.5944 GB, free: 18.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.011e-05/0.5442, allocations: 79.28 kB / 0.5945 GB, free: 18.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5442, allocations: 0 / 0.5945 GB, free: 18.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001828/0.5444, allocations: 4 kB / 0.5945 GB, free: 18.38 MB / 446.1 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 () * Number of clocked 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 (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.0001076/0.5445, allocations: 107.2 kB / 0.5946 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.5446, allocations: 28 kB / 0.5946 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5446, allocations: 0 / 0.5946 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.5447, allocations: 15.98 kB / 0.5947 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.5449, allocations: 15.2 kB / 0.5947 GB, free: 18.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.5453, allocations: 130.5 kB / 0.5948 GB, free: 18.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.5454, allocations: 0.6768 MB / 0.5955 GB, free: 17.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.5455, allocations: 384 / 0.5955 GB, free: 17.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.5455, allocations: 7.438 kB / 0.5955 GB, free: 17.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5455, allocations: 8 kB / 0.5955 GB, free: 17.35 MB / 446.1 MB Notification: Performance of Templates: time 0.003071/0.5486, allocations: 0.506 MB / 0.596 GB, free: 16.86 MB / 446.1 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)