Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 178.1 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007397/0.0007397, allocations: 90.34 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003701, allocations: 11.97 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1939, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001375/0.1953, allocations: 1.001 MB / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1965, allocations: 0.8404 MB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.1965, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.1966, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.1966, allocations: 11.97 kB / 0.9027 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.1971, allocations: 107.5 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.1972, allocations: 23.92 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.1973, allocations: 0 / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.1973, allocations: 23.81 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.1974, allocations: 15.97 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1974, allocations: 0 / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.1978, allocations: 167.7 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.1978, allocations: 7.922 kB / 0.9031 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.1979, allocations: 45.62 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1981, allocations: 108.1 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1981, allocations: 4 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1982, allocations: 0 / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1982, allocations: 0 / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003868/0.1986, allocations: 355.5 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1986, allocations: 8.031 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.1986, allocations: 38.73 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1987, allocations: 4.938 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.1988, allocations: 176.2 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/0.1989, allocations: 34.2 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.1989, allocations: 384 / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.199, allocations: 49.98 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.199, allocations: 8 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.199, allocations: 0 / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.199, allocations: 0 / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.731e-05/0.1991, allocations: 15.98 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1993, allocations: 157.7 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.1995, allocations: 50.5 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1996, allocations: 12.86 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.1998, allocations: 186.3 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1999, allocations: 34.5 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1999, allocations: 4 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002315/0.2001, allocations: 61.67 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.2001, allocations: 55.41 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.653e-05/0.2002, allocations: 101.8 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.2002, allocations: 29.7 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.55e-05/0.2002, allocations: 80.14 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2003, allocations: 11.75 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.2003, allocations: 0 / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.2003, allocations: 314.8 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.2004, allocations: 11.98 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.2004, allocations: 11.98 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.126e-05/0.2005, allocations: 28.86 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2005, allocations: 0 / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.2006, allocations: 62.08 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2007, allocations: 7.938 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2007, allocations: 7.938 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2007, allocations: 0 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.2007, allocations: 7.938 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2008, allocations: 0 / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.2008, allocations: 12.03 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.2008, allocations: 3.984 kB / 0.9051 GB, free: 58.86 MB / 0.6042 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 (4): * Single equations (assignments): 4 * 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 5.534e-05/0.2009, allocations: 109.8 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.2009, allocations: 7.844 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.2011, allocations: 69.17 kB / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2011, allocations: 0 / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2011, allocations: 0 / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2011, allocations: 0 / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.586e-05/0.2012, allocations: 161.6 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2012, allocations: 0 / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.2012, allocations: 15.92 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2013, allocations: 3.938 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2013, allocations: 0 / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2013, allocations: 4 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2013, allocations: 0 / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.2014, allocations: 77.11 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.2015, allocations: 89.05 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2015, allocations: 0 / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.2015, allocations: 11.98 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.2016, allocations: 0 / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.2016, allocations: 8 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.936e-05/0.2016, allocations: 75.28 kB / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2016, allocations: 0 / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002589/0.2019, allocations: 35.98 kB / 0.9057 GB, free: 58.09 MB / 0.6042 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 (4): * Single equations (assignments): 4 * 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.000433/0.2023, allocations: 0.6629 MB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.2025, allocations: 31.97 kB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2025, allocations: 0 / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.2025, allocations: 15.94 kB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.2028, allocations: 11.98 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.2031, allocations: 180.2 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.2032, allocations: 0.6809 MB / 0.9072 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.691e-05/0.2033, allocations: 7.859 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.2033, allocations: 11.44 kB / 0.9073 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2033, allocations: 0 / 0.9073 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.2157, allocations: 1.741 MB / 0.909 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.2159, allocations: 229 kB / 0.9092 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.825, allocations: 0 / 0.9092 GB, free: 54.57 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)