Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000826/0.0008262, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008561/0.0008562, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9754/0.9754, allocations: 143.4 MB / 434.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 83.42 MB / 0.5975 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001574/0.1917, allocations: 0.9939 MB / 0.5985 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.193, allocations: 0.7764 MB / 0.5993 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.1931, allocations: 0 / 0.5993 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1931, allocations: 0 / 0.5993 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.1931, allocations: 0 / 0.5993 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.1937, allocations: 111.5 kB / 0.5994 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.62e-05/0.1938, allocations: 23.86 kB / 0.5994 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.1938, allocations: 4 kB / 0.5994 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.1939, allocations: 15.98 kB / 0.5994 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.194, allocations: 7.938 kB / 0.5994 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.194, allocations: 3.938 kB / 0.5994 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.1944, allocations: 175.7 kB / 0.5996 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.1944, allocations: 4 kB / 0.5996 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.1944, allocations: 25.7 kB / 0.5996 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1946, allocations: 84.12 kB / 0.5997 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1946, allocations: 0 / 0.5997 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1947, allocations: 4 kB / 0.5997 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.1947, allocations: 4 kB / 0.5997 GB, free: 5.484 MB / 0.4981 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.0004789/0.1952, allocations: 355.2 kB / 0.6001 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1952, allocations: 8.031 kB / 0.6001 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.88e-05/0.1953, allocations: 34.56 kB / 0.6001 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.1953, allocations: 7.953 kB / 0.6001 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1954, allocations: 171 kB / 0.6003 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.1955, allocations: 29.7 kB / 0.6003 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1955, allocations: 0 / 0.6003 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1957, allocations: 49.62 kB / 0.6003 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1957, allocations: 0 / 0.6003 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1957, allocations: 8 kB / 0.6004 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1957, allocations: 0 / 0.6004 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/0.1958, allocations: 19.94 kB / 0.6004 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.196, allocations: 161.6 kB / 0.6005 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1963, allocations: 46.59 kB / 0.6006 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.1963, allocations: 24.8 kB / 0.6006 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.1966, allocations: 178.3 kB / 0.6008 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1967, allocations: 30.56 kB / 0.6008 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1967, allocations: 3.938 kB / 0.6008 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002584/0.1969, allocations: 65.67 kB / 0.6009 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.197, allocations: 55.41 kB / 0.6009 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.1971, allocations: 101.8 kB / 0.601 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1971, allocations: 25.7 kB / 0.601 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.1971, allocations: 80.14 kB / 0.6011 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.1972, allocations: 11.81 kB / 0.6011 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.1972, allocations: 4 kB / 0.6011 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1973, allocations: 314.8 kB / 0.6014 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.1973, allocations: 15.92 kB / 0.6014 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.1974, allocations: 12 kB / 0.6015 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/0.1974, allocations: 11.98 kB / 0.6015 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1975, allocations: 0 / 0.6015 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001271/0.1976, allocations: 53.69 kB / 0.6015 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1976, allocations: 4 kB / 0.6015 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1976, allocations: 0 / 0.6015 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1976, allocations: 0.5156 kB / 0.6015 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/0.1977, allocations: 11.98 kB / 0.6015 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1977, allocations: 0 / 0.6015 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.1977, allocations: 11.94 kB / 0.6015 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1978, allocations: 0 / 0.6015 GB, free: 3.348 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 (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 8.786e-05/0.1978, allocations: 117.7 kB / 0.6017 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.1979, allocations: 7.906 kB / 0.6017 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.198, allocations: 65.16 kB / 0.6017 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1981, allocations: 4 kB / 0.6017 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1981, allocations: 3.984 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1981, allocations: 4 kB / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1982, allocations: 157.6 kB / 0.6019 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1982, allocations: 0 / 0.6019 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.1982, allocations: 8 kB / 0.6019 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1983, allocations: 0 / 0.6019 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1983, allocations: 3.938 kB / 0.6019 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1983, allocations: 0 / 0.6019 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1983, allocations: 3.984 kB / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1984, allocations: 93 kB / 0.602 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1985, allocations: 93 kB / 0.6021 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.1985, allocations: 0 / 0.6021 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.1986, allocations: 0 / 0.6021 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.1986, allocations: 4 kB / 0.6021 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1986, allocations: 0 / 0.6021 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.1987, allocations: 83.27 kB / 0.6022 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1987, allocations: 0 / 0.6022 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002425/0.1989, allocations: 39.88 kB / 0.6022 GB, free: 2.57 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 (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.0005405/0.1995, allocations: 0.6553 MB / 0.6028 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1996, allocations: 27.98 kB / 0.6029 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1996, allocations: 0 / 0.6029 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.1997, allocations: 19.98 kB / 0.6029 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1999, allocations: 8 kB / 0.6029 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.2004, allocations: 189.8 kB / 0.6031 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.2008, allocations: 0.6731 MB / 0.6037 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.2009, allocations: 11.98 kB / 0.6037 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.2009, allocations: 7.438 kB / 0.6037 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.2009, allocations: 0 / 0.6037 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3074/0.5083, allocations: 1.74 MB / 0.6054 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001239/0.5085, allocations: 210.2 kB / 0.6056 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.206, allocations: 0.5312 kB / 0.6056 GB, free: 39.97 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: