Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.0009435/0.0009435, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001064/0.001064, allocations: 177.3 kB / 15.94 MB, free: 228 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.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.014/1.014, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003747, allocations: 8 kB / 0.5159 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 83.41 MB / 0.5974 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001533/0.192, allocations: 0.994 MB / 0.5983 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1931, allocations: 0.5738 MB / 0.5989 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.1931, allocations: 4 kB / 0.5989 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.1931, allocations: 3.984 kB / 0.5989 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.1932, allocations: 3.984 kB / 0.5989 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.1935, allocations: 91.72 kB / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.1936, allocations: 19.97 kB / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.1937, allocations: 0 / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.514e-05/0.1937, allocations: 11.94 kB / 0.599 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.1938, allocations: 15.97 kB / 0.5991 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1938, allocations: 4 kB / 0.5991 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.1941, allocations: 155.7 kB / 0.5992 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1941, allocations: 8 kB / 0.5992 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.1942, allocations: 25.7 kB / 0.5992 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1943, allocations: 68.14 kB / 0.5993 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1943, allocations: 0 / 0.5993 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1943, allocations: 3.938 kB / 0.5993 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.1943, allocations: 0 / 0.5993 GB, free: 5.754 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.0004403/0.1948, allocations: 347.3 kB / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1948, allocations: 12.03 kB / 0.5996 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1949, allocations: 34.56 kB / 0.5997 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.1953, allocations: 35.81 kB / 0.5997 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1954, allocations: 159.1 kB / 0.5999 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1954, allocations: 4 kB / 0.5999 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1955, allocations: 0 / 0.5999 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1956, allocations: 61.66 kB / 0.5999 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1957, allocations: 3.984 kB / 0.5999 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1957, allocations: 0 / 0.5999 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1957, allocations: 3.938 kB / 0.5999 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1958, allocations: 27.92 kB / 0.6 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.1961, allocations: 169.6 kB / 0.6001 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1964, allocations: 70.56 kB / 0.6002 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1964, allocations: 0 / 0.6002 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1964, allocations: 30.56 kB / 0.6002 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1964, allocations: 0 / 0.6002 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003244/0.1997, allocations: 0.5837 MB / 0.6008 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.1997, allocations: 51.41 kB / 0.6008 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.1998, allocations: 105.8 kB / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1998, allocations: 25.7 kB / 0.601 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.1999, allocations: 80.14 kB / 0.601 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.1999, allocations: 23.7 kB / 0.6011 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/0.2, allocations: 0 / 0.6011 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2001, allocations: 314.8 kB / 0.6014 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2002, allocations: 35.97 kB / 0.6014 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.2003, allocations: 36.09 kB / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.2005, allocations: 35.98 kB / 0.6015 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2005, allocations: 0 / 0.6015 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003333/0.2008, allocations: 129.6 kB / 0.6016 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2008, allocations: 4.625 kB / 0.6016 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2009, allocations: 0 / 0.6016 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2009, allocations: 3.938 kB / 0.6016 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2011, allocations: 23.97 kB / 0.6016 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2011, allocations: 0 / 0.6016 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.2012, allocations: 8 kB / 0.6016 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2013, allocations: 12.17 kB / 0.6016 GB, free: 3.09 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 (7): * Single equations (assignments): 7 * 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 0.0001018/0.2014, allocations: 109.8 kB / 0.6017 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.2014, allocations: 7.906 kB / 0.6018 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.757e-05/0.2015, allocations: 7.969 kB / 0.6018 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2015, allocations: 0 / 0.6018 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2015, allocations: 0 / 0.6018 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2015, allocations: 8.062 kB / 0.6018 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.2017, allocations: 191.6 kB / 0.602 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2017, allocations: 0 / 0.602 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.2019, allocations: 23.97 kB / 0.602 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2019, allocations: 0 / 0.602 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2019, allocations: 3.984 kB / 0.602 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2019, allocations: 4 kB / 0.602 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2019, allocations: 3.938 kB / 0.602 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.2025, allocations: 197 kB / 0.6022 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.2025, allocations: 77.11 kB / 0.6022 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2025, allocations: 0 / 0.6022 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.2027, allocations: 24.02 kB / 0.6023 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.2028, allocations: 4 kB / 0.6023 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.2028, allocations: 3.984 kB / 0.6023 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.298e-05/0.2028, allocations: 79.28 kB / 0.6024 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2028, allocations: 0 / 0.6024 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002543/0.2031, allocations: 35.94 kB / 0.6024 GB, free: 2.223 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0008968/0.204, allocations: 0.7608 MB / 0.6031 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.2043, allocations: 83.92 kB / 0.6032 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2043, allocations: 0 / 0.6032 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2045, allocations: 51.89 kB / 0.6033 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.2047, allocations: 8 kB / 0.6033 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.206, allocations: 0.5239 MB / 0.6038 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.2062, allocations: 0.6815 MB / 0.6044 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.3013/0.5076, allocations: 26.23 kB / 0.6045 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.5077, allocations: 18.34 kB / 0.6045 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/0.5077, allocations: 0 / 0.6045 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.522, allocations: 2.233 MB / 0.6067 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.5222, allocations: 250 kB / 0.6069 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.295, allocations: 0 / 0.6069 GB, free: 39.84 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: