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.2038/0.2063, allocations: 80.83 MB / 0.6706 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002932/0.2093, allocations: 1.49 MB / 0.6721 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2106, allocations: 0.7185 MB / 0.6728 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.2107, allocations: 8 kB / 0.6728 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.2107, allocations: 3.938 kB / 0.6728 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.2108, allocations: 15.84 kB / 0.6728 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2112, allocations: 111.5 kB / 0.6729 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.2113, allocations: 51.84 kB / 0.6729 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2115, allocations: 19.98 kB / 0.673 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.2115, allocations: 19.92 kB / 0.673 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.2116, allocations: 23.92 kB / 0.673 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2116, allocations: 4 kB / 0.673 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.2119, allocations: 175.6 kB / 0.6732 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.212, allocations: 4 kB / 0.6732 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.212, allocations: 19.86 kB / 0.6732 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.2123, allocations: 139.6 kB / 0.6733 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2123, allocations: 0 / 0.6733 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2123, allocations: 0 / 0.6733 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2123, allocations: 4 kB / 0.6733 GB, free: 1.789 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.0006276/0.2129, allocations: 399.2 kB / 0.6737 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.213, allocations: 8.031 kB / 0.6737 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.213, allocations: 8.875 kB / 0.6737 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2132, allocations: 164.3 kB / 0.6739 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2132, allocations: 4.375 kB / 0.6739 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.2132, allocations: 384 / 0.6739 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2135, allocations: 81.77 kB / 0.674 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2135, allocations: 0 / 0.674 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.2136, allocations: 4 kB / 0.674 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2136, allocations: 4 kB / 0.674 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.2139, allocations: 67.86 kB / 0.674 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.2143, allocations: 288.7 kB / 0.6743 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.2146, allocations: 50.55 kB / 0.6744 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.2147, allocations: 40.91 kB / 0.6744 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.2149, allocations: 93.17 kB / 0.6745 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.215, allocations: 38.5 kB / 0.6745 GB, free: 392 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.215, allocations: 0 / 0.6745 GB, free: 392 kB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005822/0.2156, allocations: 125.8 kB / 0.6747 GB, free: 260 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2156, allocations: 59.39 kB / 0.6747 GB, free: 188 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2157, allocations: 113.8 kB / 0.6748 GB, free: 64 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2158, allocations: 29.7 kB / 0.6748 GB, free: 28 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.2158, allocations: 95.97 kB / 0.6749 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.2159, allocations: 3.906 kB / 0.6749 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.2159, allocations: 21.7 kB / 0.675 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2161, allocations: 322.8 kB / 0.6753 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.2162, allocations: 35.95 kB / 0.6753 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2164, allocations: 31.95 kB / 0.6753 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.2166, allocations: 72.72 kB / 0.6754 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2167, allocations: 0 / 0.6754 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003165/0.217, allocations: 101.5 kB / 0.6755 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.217, allocations: 8 kB / 0.6755 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.217, allocations: 7.938 kB / 0.6755 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.217, allocations: 0 / 0.6755 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.2172, allocations: 19.97 kB / 0.6755 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2172, allocations: 0 / 0.6755 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.2173, allocations: 15.98 kB / 0.6755 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.2173, allocations: 4 kB / 0.6756 GB, free: 15.27 MB / 0.5294 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 8.662e-05/0.2174, allocations: 114.4 kB / 0.6757 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.2174, allocations: 4 kB / 0.6757 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.2178, allocations: 109.5 kB / 0.6758 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2178, allocations: 0 / 0.6758 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2178, allocations: 4 kB / 0.6758 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2178, allocations: 0 / 0.6758 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.218, allocations: 173.6 kB / 0.6759 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.218, allocations: 4 kB / 0.6759 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.2181, allocations: 11.98 kB / 0.676 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2181, allocations: 0 / 0.676 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.2181, allocations: 3.984 kB / 0.676 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2181, allocations: 4 kB / 0.676 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2181, allocations: 0 / 0.676 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.2185, allocations: 203.3 kB / 0.6762 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.2186, allocations: 84.95 kB / 0.6762 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.2186, allocations: 4 kB / 0.6762 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2187, allocations: 11.97 kB / 0.6763 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.2188, allocations: 12 kB / 0.6763 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2188, allocations: 0 / 0.6763 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.883e-05/0.2189, allocations: 95.2 kB / 0.6764 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2189, allocations: 0 / 0.6764 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002592/0.2191, allocations: 31.94 kB / 0.6764 GB, free: 14.31 MB / 0.5294 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.0002103/0.2194, allocations: 131.2 kB / 0.6765 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.2197, allocations: 71.92 kB / 0.6766 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2197, allocations: 3.938 kB / 0.6766 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2199, allocations: 31.97 kB / 0.6766 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.2202, allocations: 12.41 kB / 0.6766 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.2206, allocations: 155.1 kB / 0.6768 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.2209, allocations: 0.6807 MB / 0.6774 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.221, allocations: 3.984 kB / 0.6774 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.221, allocations: 15.44 kB / 0.6775 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.221, allocations: 3.938 kB / 0.6775 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of Templates: time 0.004167/0.2252, allocations: 1.379 MB / 0.6788 GB, free: 11.78 MB / 0.5294 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)