Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 192.7 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003516/0.003516, allocations: 279.1 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 94.8 kB / 0.6057 GB, free: 25.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1911, allocations: 89.15 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002855/0.194, allocations: 1.562 MB / 0.6943 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1954, allocations: 0.8225 MB / 0.6951 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.1955, allocations: 0 / 0.6951 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.1955, allocations: 0 / 0.6951 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.1956, allocations: 11.92 kB / 0.6951 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.196, allocations: 115.5 kB / 0.6952 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.364e-05/0.1961, allocations: 47.84 kB / 0.6953 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.1962, allocations: 12.28 kB / 0.6953 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.702e-05/0.1962, allocations: 23.91 kB / 0.6953 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.1963, allocations: 27.86 kB / 0.6953 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1963, allocations: 0 / 0.6953 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.1966, allocations: 175.7 kB / 0.6955 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.1967, allocations: 11.92 kB / 0.6955 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.1967, allocations: 23.86 kB / 0.6955 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.197, allocations: 151.5 kB / 0.6957 GB, free: 1.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.197, allocations: 0 / 0.6957 GB, free: 1.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.197, allocations: 0 / 0.6957 GB, free: 1.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.197, allocations: 0 / 0.6957 GB, free: 1.844 MB / 494.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.000591/0.1976, allocations: 401 kB / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1977, allocations: 12.03 kB / 0.6961 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.1977, allocations: 0.9375 kB / 0.6961 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.1979, allocations: 172.3 kB / 0.6962 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1979, allocations: 4.375 kB / 0.6962 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1979, allocations: 4.375 kB / 0.6963 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.1982, allocations: 70.22 kB / 0.6963 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1982, allocations: 4.125 kB / 0.6963 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1982, allocations: 3.938 kB / 0.6963 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1982, allocations: 4 kB / 0.6963 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.1985, allocations: 67.92 kB / 0.6964 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.1989, allocations: 284.7 kB / 0.6967 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1992, allocations: 66.47 kB / 0.6967 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.1994, allocations: 36.92 kB / 0.6968 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.1996, allocations: 89.09 kB / 0.6968 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1996, allocations: 30.56 kB / 0.6969 GB, free: 448 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1996, allocations: 4 kB / 0.6969 GB, free: 444 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005576/0.2002, allocations: 125.6 kB / 0.697 GB, free: 312 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.2002, allocations: 55.41 kB / 0.6971 GB, free: 244 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2003, allocations: 117.8 kB / 0.6972 GB, free: 116 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2004, allocations: 29.7 kB / 0.6972 GB, free: 80 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.2004, allocations: 96.03 kB / 0.6973 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.2005, allocations: 15.91 kB / 0.6973 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.2005, allocations: 13.72 kB / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2007, allocations: 322.8 kB / 0.6976 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.2008, allocations: 31.97 kB / 0.6977 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.201, allocations: 35.95 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.2013, allocations: 64.8 kB / 0.6978 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2013, allocations: 0 / 0.6978 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003505/0.2016, allocations: 109.8 kB / 0.6979 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2017, allocations: 4 kB / 0.6979 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2017, allocations: 4 kB / 0.6979 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2017, allocations: 3.938 kB / 0.6979 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2018, allocations: 15.92 kB / 0.6979 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2018, allocations: 3.984 kB / 0.6979 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.488e-05/0.2019, allocations: 11.98 kB / 0.6979 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.2019, allocations: 0 / 0.6979 GB, free: 15.33 MB / 0.4981 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 9.79e-05/0.2021, allocations: 125.8 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.2021, allocations: 4 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.2025, allocations: 105.5 kB / 0.6981 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2025, allocations: 0 / 0.6981 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2025, allocations: 0 / 0.6981 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2025, allocations: 4 kB / 0.6981 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.2027, allocations: 177.5 kB / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2027, allocations: 4 kB / 0.6983 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.2028, allocations: 15.98 kB / 0.6983 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2029, allocations: 3.938 kB / 0.6983 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.2029, allocations: 0 / 0.6983 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2029, allocations: 0 / 0.6983 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2029, allocations: 0 / 0.6983 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.2033, allocations: 207.3 kB / 0.6985 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.2034, allocations: 81.02 kB / 0.6986 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2034, allocations: 0 / 0.6986 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2035, allocations: 11.98 kB / 0.6986 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.2036, allocations: 7.984 kB / 0.6986 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2036, allocations: 3.938 kB / 0.6986 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.2037, allocations: 95.7 kB / 0.6987 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2037, allocations: 4 kB / 0.6987 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002746/0.2039, allocations: 28 kB / 0.6987 GB, free: 14.37 MB / 0.4981 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.000233/0.2042, allocations: 131.2 kB / 0.6989 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.2045, allocations: 71.86 kB / 0.6989 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2046, allocations: 4 kB / 0.6989 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.2047, allocations: 31.97 kB / 0.699 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.205, allocations: 17.52 kB / 0.699 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.2054, allocations: 157 kB / 0.6991 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2057, allocations: 0.6926 MB / 0.6998 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.2057, allocations: 0 / 0.6998 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.2058, allocations: 15.38 kB / 0.6998 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2058, allocations: 0 / 0.6998 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.003988/0.2098, allocations: 1.232 MB / 0.701 GB, free: 11.98 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)