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.2183/0.2191, allocations: 82.22 MB / 0.5935 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002051/0.2212, allocations: 1.207 MB / 0.5946 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2224, allocations: 0.6607 MB / 0.5953 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.2224, allocations: 0 / 0.5953 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.2224, allocations: 3.938 kB / 0.5953 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.2225, allocations: 11.91 kB / 0.5953 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.2229, allocations: 95.61 kB / 0.5954 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.223, allocations: 51.8 kB / 0.5954 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.2231, allocations: 20.14 kB / 0.5955 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.149e-05/0.2231, allocations: 19.92 kB / 0.5955 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.2232, allocations: 15.92 kB / 0.5955 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2232, allocations: 4 kB / 0.5955 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.2235, allocations: 163.7 kB / 0.5956 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.2235, allocations: 0 / 0.5956 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.2236, allocations: 33.7 kB / 0.5957 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.2237, allocations: 103.8 kB / 0.5958 GB, free: 3.566 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2237, allocations: 0 / 0.5958 GB, free: 3.566 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2238, allocations: 3.938 kB / 0.5958 GB, free: 3.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2238, allocations: 0 / 0.5958 GB, free: 3.562 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005337/0.2243, allocations: 395.1 kB / 0.5962 GB, free: 3.129 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2244, allocations: 12.03 kB / 0.5962 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.2244, allocations: 4 kB / 0.5962 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2245, allocations: 175 kB / 0.5963 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2245, allocations: 0 / 0.5963 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.2246, allocations: 7.953 kB / 0.5964 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2249, allocations: 85.64 kB / 0.5964 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2249, allocations: 0 / 0.5964 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2249, allocations: 4 kB / 0.5964 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2249, allocations: 0 / 0.5964 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.2252, allocations: 95.86 kB / 0.5965 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.2257, allocations: 276.8 kB / 0.5968 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.2259, allocations: 74.53 kB / 0.5969 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.226, allocations: 48.92 kB / 0.5969 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.2262, allocations: 93.09 kB / 0.597 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2263, allocations: 38.5 kB / 0.597 GB, free: 2.098 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.2263, allocations: 0 / 0.597 GB, free: 2.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005309/0.2268, allocations: 165.5 kB / 0.5972 GB, free: 1.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2269, allocations: 55.41 kB / 0.5972 GB, free: 1.863 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.227, allocations: 117.8 kB / 0.5974 GB, free: 1.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.227, allocations: 25.7 kB / 0.5974 GB, free: 1.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.2271, allocations: 92.12 kB / 0.5975 GB, free: 1.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.2271, allocations: 7.812 kB / 0.5975 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.2271, allocations: 0 / 0.5975 GB, free: 1.605 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2272, allocations: 322.8 kB / 0.5978 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.2274, allocations: 43.95 kB / 0.5978 GB, free: 1.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.2275, allocations: 47.91 kB / 0.5979 GB, free: 1.191 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.2277, allocations: 47.89 kB / 0.5979 GB, free: 1.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2277, allocations: 0 / 0.5979 GB, free: 1.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002832/0.228, allocations: 117.6 kB / 0.598 GB, free: 1.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.228, allocations: 6.031 kB / 0.598 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.228, allocations: 0 / 0.598 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.228, allocations: 8 kB / 0.598 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2281, allocations: 15.98 kB / 0.5981 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2282, allocations: 4 kB / 0.5981 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.2282, allocations: 19.97 kB / 0.5981 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.2282, allocations: 0 / 0.5981 GB, free: 0.9727 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/0.2283, allocations: 117.8 kB / 0.5982 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.2284, allocations: 7.906 kB / 0.5982 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.2287, allocations: 133.5 kB / 0.5983 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2287, allocations: 0 / 0.5983 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2287, allocations: 0 / 0.5983 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2287, allocations: 0 / 0.5983 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2289, allocations: 173.7 kB / 0.5985 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2289, allocations: 384 / 0.5985 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.229, allocations: 23.98 kB / 0.5985 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.229, allocations: 0 / 0.5985 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.229, allocations: 4 kB / 0.5985 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.229, allocations: 0 / 0.5985 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.229, allocations: 0 / 0.5985 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.2294, allocations: 231.2 kB / 0.5987 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.2294, allocations: 77.11 kB / 0.5988 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.2295, allocations: 8 kB / 0.5988 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.2296, allocations: 23.92 kB / 0.5988 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.2296, allocations: 3.984 kB / 0.5989 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2297, allocations: 0 / 0.5989 GB, free: 88 kB / 446.1 MB Notification: Performance of sorting global known variables: time 7.03e-05/0.2297, allocations: 99.27 kB / 0.5989 GB, free: 15.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2297, allocations: 0 / 0.5989 GB, free: 15.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00034/0.2301, allocations: 27.94 kB / 0.599 GB, free: 15.96 MB / 462.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 (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 0.0002111/0.2303, allocations: 135.2 kB / 0.5991 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.2306, allocations: 91.92 kB / 0.5992 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2307, allocations: 0 / 0.5992 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2308, allocations: 43.91 kB / 0.5992 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.2311, allocations: 26.66 kB / 0.5993 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.2315, allocations: 166.4 kB / 0.5994 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.2318, allocations: 0.6848 MB / 0.6001 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.899e-05/0.2318, allocations: 11.98 kB / 0.6001 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.2318, allocations: 11.44 kB / 0.6001 GB, free: 14.74 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2318, allocations: 0 / 0.6001 GB, free: 14.74 MB / 462.1 MB Notification: Performance of Templates: time 0.003669/0.2355, allocations: 1.192 MB / 0.6013 GB, free: 13.55 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: