Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.001123/0.001123, allocations: 171 kB / 372.2 MB, free: 10.1 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.55/1.55, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0008439/0.0008439, allocations: 102.8 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004184, allocations: 13.47 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1917, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001157/0.193, allocations: 0.9823 MB / 0.9811 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.1939, allocations: 0.7898 MB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.194, allocations: 0 / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.194, allocations: 0 / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.1941, allocations: 7.875 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1945, allocations: 115.6 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.096e-05/0.1946, allocations: 23.88 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.1946, allocations: 3.984 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/0.1947, allocations: 12 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.1947, allocations: 11.92 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1948, allocations: 0 / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.195, allocations: 167.7 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.1951, allocations: 4 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.1951, allocations: 45.56 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1953, allocations: 80.12 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1953, allocations: 4 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1953, allocations: 0 / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1953, allocations: 0 / 0.9824 GB, free: 24.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003601/0.1957, allocations: 359.4 kB / 0.9827 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1957, allocations: 8.031 kB / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.1958, allocations: 38.75 kB / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.1958, allocations: 0.9375 kB / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.857e-05/0.1959, allocations: 164.4 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/0.196, allocations: 34.25 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.196, allocations: 8.312 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1961, allocations: 49.94 kB / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1961, allocations: 0 / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1962, allocations: 0 / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1962, allocations: 0 / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.936e-05/0.1963, allocations: 19.98 kB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.1964, allocations: 153.7 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1966, allocations: 50.61 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.1967, allocations: 16.94 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.1969, allocations: 178.2 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1969, allocations: 38.5 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.197, allocations: 7.938 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002445/0.1972, allocations: 65.58 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.1972, allocations: 55.41 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.888e-05/0.1973, allocations: 97.86 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.1973, allocations: 25.7 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.468e-05/0.1973, allocations: 80.14 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1974, allocations: 11.83 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.1974, allocations: 4 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.1974, allocations: 318.8 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.1975, allocations: 4 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.1975, allocations: 11.98 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.363e-05/0.1976, allocations: 33.25 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1976, allocations: 0 / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/0.1977, allocations: 61.58 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1977, allocations: 7.938 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1978, allocations: 0 / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1978, allocations: 8 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.1978, allocations: 7.984 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1978, allocations: 0 / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.1979, allocations: 4 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1979, allocations: 3.938 kB / 0.9842 GB, free: 22.79 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 (4): * Single equations (assignments): 4 * 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.675e-05/0.1979, allocations: 113.8 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.198, allocations: 11.88 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.1981, allocations: 69.16 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1981, allocations: 4 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1981, allocations: 3.938 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1981, allocations: 0 / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.59e-05/0.1982, allocations: 153.7 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1982, allocations: 0 / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.1983, allocations: 8 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1983, allocations: 3.938 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1983, allocations: 0 / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1983, allocations: 7.984 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1983, allocations: 0 / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.1984, allocations: 89.05 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.1985, allocations: 92.94 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1985, allocations: 4 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.1985, allocations: 0 / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1986, allocations: 4 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1986, allocations: 0 / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.061e-05/0.1986, allocations: 87.27 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1986, allocations: 0 / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002187/0.1988, allocations: 39.94 kB / 0.9849 GB, free: 22.01 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 (4): * Single equations (assignments): 4 * 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.0003883/0.1992, allocations: 0.6514 MB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.1994, allocations: 27.98 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1994, allocations: 0 / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.1994, allocations: 20.41 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.1997, allocations: 8 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.2, allocations: 188 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.949e-05/0.2001, allocations: 0.677 MB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.057e-05/0.2002, allocations: 4.094 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.2002, allocations: 11.42 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.2002, allocations: 0 / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.2114, allocations: 1.723 MB / 0.9881 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.2116, allocations: 202.6 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.697, allocations: 2.812 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)