Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 288.4 MB / 303.7 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009644/0.0009643, allocations: 176.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 0.631 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007595/0.0007595, allocations: 96.62 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 16.16 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1971, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001366/0.1985, allocations: 1.191 MB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008709/0.1994, allocations: 0.7663 MB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.1994, allocations: 0 / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1994, allocations: 3.984 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.1995, allocations: 11.88 kB / 0.9821 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1998, allocations: 107.6 kB / 0.9822 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.1999, allocations: 55.77 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.2, allocations: 8 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.2, allocations: 19.92 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.2001, allocations: 23.91 kB / 0.9823 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.2001, allocations: 0 / 0.9823 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.2003, allocations: 175.7 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.2004, allocations: 4 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.2004, allocations: 45.56 kB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2006, allocations: 112 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2006, allocations: 0 / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2006, allocations: 3.938 kB / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.2006, allocations: 0 / 0.9826 GB, free: 24.8 MB / 0.6198 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.0004219/0.201, allocations: 399.3 kB / 0.983 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2011, allocations: 8.031 kB / 0.983 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.2011, allocations: 8.844 kB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.2012, allocations: 172.3 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.2012, allocations: 4.312 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.2012, allocations: 384 / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2015, allocations: 98.16 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2015, allocations: 192 / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2015, allocations: 3.938 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2015, allocations: 0 / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.2018, allocations: 91.92 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.2021, allocations: 292.7 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.2023, allocations: 66.47 kB / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.2024, allocations: 48.92 kB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.2026, allocations: 93.09 kB / 0.9838 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.2026, allocations: 34.56 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2026, allocations: 0 / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004881/0.2031, allocations: 161.6 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.2032, allocations: 51.41 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.07e-05/0.2032, allocations: 117.8 kB / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.2032, allocations: 25.7 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.2033, allocations: 96.06 kB / 0.9843 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.2033, allocations: 11.88 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.2033, allocations: 7.938 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.156e-05/0.2033, allocations: 318.8 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.2035, allocations: 43.95 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2036, allocations: 43.97 kB / 0.9847 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.2039, allocations: 97.05 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2039, allocations: 0 / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002904/0.2042, allocations: 117.6 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.2042, allocations: 4 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2042, allocations: 3.984 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.2042, allocations: 0 / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2044, allocations: 27.92 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2044, allocations: 0 / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.2044, allocations: 15.98 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2045, allocations: 0 / 0.9849 GB, free: 22.15 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.2045, allocations: 121.8 kB / 0.9851 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.2045, allocations: 11.91 kB / 0.9851 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.2049, allocations: 129.5 kB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2049, allocations: 4 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2049, allocations: 0 / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2049, allocations: 0 / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.205, allocations: 173.5 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.205, allocations: 0 / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/0.2051, allocations: 27.91 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2051, allocations: 3.938 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2051, allocations: 4 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2052, allocations: 0 / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2052, allocations: 0 / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.2055, allocations: 223.3 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.2055, allocations: 81.09 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.2055, allocations: 0 / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2056, allocations: 19.98 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.2057, allocations: 7.984 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2057, allocations: 4 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.2057, allocations: 91.22 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2057, allocations: 0 / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002341/0.206, allocations: 31.98 kB / 0.9858 GB, free: 21.13 MB / 0.6198 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 (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.0001484/0.2061, allocations: 123.2 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.2065, allocations: 95.86 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2065, allocations: 4 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.2066, allocations: 47.95 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2069, allocations: 12.97 kB / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.2071, allocations: 170.5 kB / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.189e-05/0.2072, allocations: 0.6848 MB / 0.9869 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.2073, allocations: 4 kB / 0.9869 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.2073, allocations: 11.44 kB / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2073, allocations: 4 kB / 0.987 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.002802/0.2101, allocations: 1.2 MB / 0.9881 GB, free: 18.73 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)