Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.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.1978/0.1998, allocations: 80.82 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00339/0.2033, allocations: 1.489 MB / 0.6721 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2047, allocations: 0.7256 MB / 0.6728 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.2047, allocations: 0 / 0.6728 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.2048, allocations: 3.938 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.062e-05/0.2048, allocations: 11.86 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.2053, allocations: 119.5 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.514e-05/0.2054, allocations: 59.77 kB / 0.673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2056, allocations: 15.98 kB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.2056, allocations: 15.92 kB / 0.673 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.2057, allocations: 23.92 kB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.2057, allocations: 4 kB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.206, allocations: 167.7 kB / 0.6732 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.2061, allocations: 7.984 kB / 0.6732 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.2061, allocations: 23.86 kB / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.2064, allocations: 139.7 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.2064, allocations: 0 / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2064, allocations: 0 / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2064, allocations: 0 / 0.6733 GB, free: 15.23 MB / 0.5137 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.0007376/0.2072, allocations: 387.3 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.2072, allocations: 8.031 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.2073, allocations: 12.84 kB / 0.6737 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.2075, allocations: 176.2 kB / 0.6739 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2075, allocations: 384 / 0.6739 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2076, allocations: 4.375 kB / 0.6739 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.2079, allocations: 73.78 kB / 0.674 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2079, allocations: 0 / 0.674 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.2079, allocations: 7.938 kB / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2079, allocations: 0 / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.2083, allocations: 71.92 kB / 0.674 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.2089, allocations: 284.6 kB / 0.6743 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.2091, allocations: 62.53 kB / 0.6744 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.2093, allocations: 36.92 kB / 0.6744 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.2096, allocations: 89.09 kB / 0.6745 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.2096, allocations: 38.55 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.2096, allocations: 3.938 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006417/0.2103, allocations: 129.5 kB / 0.6747 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.2103, allocations: 51.41 kB / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.2105, allocations: 121.8 kB / 0.6748 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.2105, allocations: 25.7 kB / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.2106, allocations: 92.2 kB / 0.6749 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.2106, allocations: 11.81 kB / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.2107, allocations: 17.72 kB / 0.675 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2108, allocations: 318.8 kB / 0.6753 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.211, allocations: 27.97 kB / 0.6753 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2111, allocations: 35.95 kB / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.2114, allocations: 68.8 kB / 0.6754 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2114, allocations: 0 / 0.6754 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00034/0.2118, allocations: 101.8 kB / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2118, allocations: 4 kB / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2118, allocations: 0 / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.2119, allocations: 4 kB / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.212, allocations: 20.03 kB / 0.6755 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.212, allocations: 0 / 0.6755 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.2121, allocations: 23.88 kB / 0.6755 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2122, allocations: 0 / 0.6755 GB, free: 12.72 MB / 0.5137 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.0001086/0.2123, allocations: 117.8 kB / 0.6757 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.2123, allocations: 0 / 0.6757 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.2127, allocations: 113.5 kB / 0.6758 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2127, allocations: 4 kB / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2127, allocations: 3.938 kB / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2127, allocations: 0 / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.213, allocations: 173.6 kB / 0.6759 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.213, allocations: 0 / 0.6759 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.2131, allocations: 19.98 kB / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2131, allocations: 0 / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2131, allocations: 0 / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2131, allocations: 0 / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2131, allocations: 0 / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.2136, allocations: 207.3 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.2136, allocations: 81.05 kB / 0.6762 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.2136, allocations: 0 / 0.6762 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2138, allocations: 15.92 kB / 0.6762 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.2138, allocations: 7.984 kB / 0.6763 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2139, allocations: 4 kB / 0.6763 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.331e-05/0.2139, allocations: 95.31 kB / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2139, allocations: 0 / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002966/0.2143, allocations: 35.88 kB / 0.6764 GB, free: 11.75 MB / 0.5137 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.0002358/0.2145, allocations: 143.1 kB / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.2149, allocations: 63.92 kB / 0.6766 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.2149, allocations: 4 kB / 0.6766 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.2151, allocations: 39.91 kB / 0.6766 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2154, allocations: 11.98 kB / 0.6766 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.2158, allocations: 143 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.2161, allocations: 0.6846 MB / 0.6774 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.2161, allocations: 8 kB / 0.6774 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.2162, allocations: 15.44 kB / 0.6775 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2162, allocations: 3.938 kB / 0.6775 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.004657/0.2208, allocations: 1.368 MB / 0.6788 GB, free: 9.223 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)