Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.2307/0.2332, allocations: 80.83 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003578/0.2368, allocations: 1.325 MB / 0.591 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2385, allocations: 0.6875 MB / 0.5916 GB, free: 5.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.2386, allocations: 0 / 0.5916 GB, free: 5.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.2386, allocations: 3.938 kB / 0.5917 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.2387, allocations: 0 / 0.5917 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007657/0.2395, allocations: 95.61 kB / 0.5917 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2396, allocations: 27.81 kB / 0.5918 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.925e-05/0.2397, allocations: 3.984 kB / 0.5918 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.2398, allocations: 8 kB / 0.5918 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.247e-05/0.2399, allocations: 0 / 0.5918 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.2399, allocations: 7.938 kB / 0.5918 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.2404, allocations: 163.7 kB / 0.5919 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.2404, allocations: 4 kB / 0.5919 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.2405, allocations: 8 kB / 0.592 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.2408, allocations: 108 kB / 0.5921 GB, free: 4.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2409, allocations: 0 / 0.5921 GB, free: 4.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2409, allocations: 0 / 0.5921 GB, free: 4.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2409, allocations: 0 / 0.5921 GB, free: 4.668 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005829/0.2415, allocations: 351.5 kB / 0.5924 GB, free: 4.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.2415, allocations: 12.03 kB / 0.5924 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.2416, allocations: 4.875 kB / 0.5924 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.2418, allocations: 168.3 kB / 0.5926 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.2419, allocations: 34.25 kB / 0.5926 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.2419, allocations: 4.375 kB / 0.5926 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.242, allocations: 45.62 kB / 0.5927 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2421, allocations: 0 / 0.5927 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2421, allocations: 0 / 0.5927 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2421, allocations: 3.984 kB / 0.5927 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.2422, allocations: 11.98 kB / 0.5927 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.2424, allocations: 149.7 kB / 0.5928 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.2425, allocations: 38.5 kB / 0.5928 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.2425, allocations: 20.94 kB / 0.5929 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.2428, allocations: 97.02 kB / 0.593 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.2428, allocations: 30.56 kB / 0.593 GB, free: 3.531 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.2428, allocations: 0 / 0.593 GB, free: 3.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002499/0.243, allocations: 53.59 kB / 0.593 GB, free: 3.473 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.2431, allocations: 63.39 kB / 0.5931 GB, free: 3.398 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.2432, allocations: 93.86 kB / 0.5932 GB, free: 3.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2432, allocations: 37.58 kB / 0.5932 GB, free: 3.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.2432, allocations: 80.14 kB / 0.5933 GB, free: 3.172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2433, allocations: 7.906 kB / 0.5933 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.2433, allocations: 17.7 kB / 0.5933 GB, free: 3.141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2434, allocations: 310.8 kB / 0.5936 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.2435, allocations: 12 kB / 0.5936 GB, free: 2.816 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/0.2435, allocations: 7.984 kB / 0.5936 GB, free: 2.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.2436, allocations: 24.84 kB / 0.5937 GB, free: 2.781 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2436, allocations: 0 / 0.5937 GB, free: 2.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001288/0.2438, allocations: 49.62 kB / 0.5937 GB, free: 2.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2438, allocations: 8 kB / 0.5937 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2438, allocations: 0 / 0.5937 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2438, allocations: 0 / 0.5937 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.2439, allocations: 11.94 kB / 0.5937 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2439, allocations: 0 / 0.5937 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.244, allocations: 7.984 kB / 0.5937 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.244, allocations: 0 / 0.5937 GB, free: 2.699 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 (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.932e-05/0.2441, allocations: 106.7 kB / 0.5938 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.2441, allocations: 15.78 kB / 0.5939 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.2443, allocations: 57.17 kB / 0.5939 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2443, allocations: 0.5625 kB / 0.5939 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2443, allocations: 4 kB / 0.5939 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2443, allocations: 0 / 0.5939 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2445, allocations: 153.7 kB / 0.5941 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2445, allocations: 3.938 kB / 0.5941 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.2445, allocations: 11.94 kB / 0.5941 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2445, allocations: 0 / 0.5941 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.2446, allocations: 4 kB / 0.5941 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2446, allocations: 0 / 0.5941 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2446, allocations: 3.984 kB / 0.5941 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.2447, allocations: 77.11 kB / 0.5942 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.2448, allocations: 88.98 kB / 0.5942 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.2448, allocations: 4 kB / 0.5942 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.2449, allocations: 3.984 kB / 0.5942 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.2449, allocations: 0 / 0.5942 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.2449, allocations: 4 kB / 0.5943 GB, free: 2.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.954e-05/0.245, allocations: 75.28 kB / 0.5943 GB, free: 1.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.245, allocations: 0 / 0.5943 GB, free: 1.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.2453, allocations: 35.98 kB / 0.5944 GB, free: 1.957 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 (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.0002697/0.2455, allocations: 123.2 kB / 0.5945 GB, free: 1.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.2457, allocations: 23.92 kB / 0.5945 GB, free: 1.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.2457, allocations: 4 kB / 0.5945 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.441e-05/0.2458, allocations: 11.92 kB / 0.5945 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2461, allocations: 11.03 kB / 0.5945 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.2466, allocations: 133 kB / 0.5947 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.247, allocations: 0.677 MB / 0.5953 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.2471, allocations: 8 kB / 0.5953 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.2471, allocations: 7.438 kB / 0.5953 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2471, allocations: 0 / 0.5953 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of Templates: time 0.003845/0.251, allocations: 0.8579 MB / 0.5962 GB, free: 68 kB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)