Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Examples.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.0008624/0.0008624, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001068/0.001068, allocations: 172.7 kB / 15.95 MB, free: 208 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.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9839/0.9839, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 8 kB / 0.5161 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1921, allocations: 83.43 MB / 0.5975 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001661/0.1938, allocations: 1.202 MB / 0.5987 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.1942, allocations: 115.7 kB / 0.5988 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.1942, allocations: 0 / 0.5988 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.1943, allocations: 0 / 0.5988 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.1943, allocations: 7.938 kB / 0.5988 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1947, allocations: 59.91 kB / 0.5989 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.1948, allocations: 51.84 kB / 0.5989 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1949, allocations: 11.98 kB / 0.599 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.195, allocations: 27.91 kB / 0.599 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.1951, allocations: 15.92 kB / 0.599 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1951, allocations: 4 kB / 0.599 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.1951, allocations: 4 kB / 0.599 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.1951, allocations: 7.984 kB / 0.599 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.1952, allocations: 41.58 kB / 0.599 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.331e-05/0.1953, allocations: 27.92 kB / 0.5991 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1953, allocations: 4 kB / 0.5991 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1953, allocations: 4 kB / 0.5991 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1953, allocations: 0 / 0.5991 GB, free: 6.152 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005326/0.1958, allocations: 367.5 kB / 0.5994 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1959, allocations: 12.02 kB / 0.5994 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.1959, allocations: 34.56 kB / 0.5995 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.196, allocations: 7.859 kB / 0.5995 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1961, allocations: 171 kB / 0.5996 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.1962, allocations: 41.64 kB / 0.5997 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1962, allocations: 4 kB / 0.5997 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.1964, allocations: 77.64 kB / 0.5998 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1965, allocations: 0 / 0.5998 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1965, allocations: 8 kB / 0.5998 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1965, allocations: 0 / 0.5998 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.1967, allocations: 63.91 kB / 0.5998 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.1973, allocations: 332.7 kB / 0.6002 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1974, allocations: 46.56 kB / 0.6002 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1975, allocations: 44.92 kB / 0.6002 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1975, allocations: 0 / 0.6002 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1976, allocations: 34.52 kB / 0.6003 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1976, allocations: 0 / 0.6003 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003564/0.1979, allocations: 117.6 kB / 0.6004 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.198, allocations: 51.41 kB / 0.6004 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.1981, allocations: 105.8 kB / 0.6005 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1981, allocations: 29.7 kB / 0.6006 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.1982, allocations: 95.97 kB / 0.6007 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.1982, allocations: 19.81 kB / 0.6007 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1982, allocations: 0 / 0.6007 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1983, allocations: 314.8 kB / 0.601 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.1984, allocations: 23.98 kB / 0.601 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.094e-05/0.1985, allocations: 41.7 kB / 0.601 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.912e-05/0.1986, allocations: 31.97 kB / 0.6011 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1986, allocations: 0 / 0.6011 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002186/0.1988, allocations: 97.62 kB / 0.6012 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1988, allocations: 7.938 kB / 0.6012 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1989, allocations: 3.953 kB / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1989, allocations: 0 / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.199, allocations: 15.98 kB / 0.6012 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.199, allocations: 4.125 kB / 0.6012 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.1991, allocations: 15.98 kB / 0.6012 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1991, allocations: 8 kB / 0.6012 GB, free: 3.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.003e-05/0.1992, allocations: 109.8 kB / 0.6013 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1992, allocations: 7.906 kB / 0.6013 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.1992, allocations: 7.906 kB / 0.6013 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1993, allocations: 7.953 kB / 0.6013 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1993, allocations: 0 / 0.6013 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1993, allocations: 0 / 0.6013 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1995, allocations: 173.6 kB / 0.6015 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1995, allocations: 0 / 0.6015 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.064e-05/0.1996, allocations: 27.92 kB / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1996, allocations: 0 / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1996, allocations: 0 / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1996, allocations: 0 / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1996, allocations: 7.953 kB / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1998, allocations: 179.4 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.1999, allocations: 85.09 kB / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1999, allocations: 4 kB / 0.6018 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2, allocations: 20.2 kB / 0.6018 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.2001, allocations: 3.953 kB / 0.6018 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.2001, allocations: 8 kB / 0.6018 GB, free: 3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.2002, allocations: 87.27 kB / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2002, allocations: 0 / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002186/0.2004, allocations: 8 kB / 0.6019 GB, free: 2.906 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.0005476/0.2009, allocations: 0.7241 MB / 0.6026 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.2012, allocations: 63.89 kB / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2012, allocations: 0 / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/0.2013, allocations: 27.98 kB / 0.6027 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2016, allocations: 8 kB / 0.6027 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.2025, allocations: 489.3 kB / 0.6032 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.2028, allocations: 0.6848 MB / 0.6039 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.232e-05/0.2028, allocations: 4 kB / 0.6039 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.2029, allocations: 19.44 kB / 0.6039 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.2029, allocations: 0 / 0.6039 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2936/0.4965, allocations: 1.488 MB / 0.6053 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.4968, allocations: 210.4 kB / 0.6055 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.196, allocations: 0 / 0.6055 GB, free: 39.52 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) Environment - environmentSimulation: