Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.0008289/0.0008289, allocations: 86.72 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.0008776/0.0008776, 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.388/1.388, allocations: 223.2 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.022/1.022, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003554, allocations: 12 kB / 0.5161 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1849, allocations: 83.41 MB / 0.5975 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001256/0.1862, allocations: 0.9978 MB / 0.5985 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.1871, allocations: 0.5426 MB / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.1872, allocations: 0 / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.1872, allocations: 0 / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.1872, allocations: 7.938 kB / 0.5991 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1876, allocations: 87.56 kB / 0.5991 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.457e-05/0.1876, allocations: 15.88 kB / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.1877, allocations: 4 kB / 0.5992 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.1877, allocations: 11.98 kB / 0.5992 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.1878, allocations: 7.938 kB / 0.5992 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.1878, allocations: 0 / 0.5992 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.188, allocations: 139.8 kB / 0.5993 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.405e-06/0.1881, allocations: 0 / 0.5993 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.1881, allocations: 37.64 kB / 0.5993 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1882, allocations: 64.14 kB / 0.5994 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1882, allocations: 0 / 0.5994 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1882, allocations: 0 / 0.5994 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.1882, allocations: 4 kB / 0.5994 GB, free: 5.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003521/0.1886, allocations: 339.4 kB / 0.5997 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1886, allocations: 11.97 kB / 0.5997 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.1887, allocations: 30.56 kB / 0.5998 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.1891, allocations: 35.83 kB / 0.5998 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1892, allocations: 163.1 kB / 0.6 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1892, allocations: 4 kB / 0.6 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1892, allocations: 0 / 0.6 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1894, allocations: 45.67 kB / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.1894, allocations: 0 / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1894, allocations: 0 / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1894, allocations: 4 kB / 0.6 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1895, allocations: 35.83 kB / 0.6001 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.1897, allocations: 157.6 kB / 0.6002 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1898, allocations: 42.64 kB / 0.6002 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.1899, allocations: 20.84 kB / 0.6003 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1899, allocations: 0 / 0.6003 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.19, allocations: 38.56 kB / 0.6003 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.19, allocations: 0 / 0.6003 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002978/0.1903, allocations: 73.69 kB / 0.6004 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1903, allocations: 55.41 kB / 0.6004 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/0.1904, allocations: 93.86 kB / 0.6005 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1904, allocations: 29.7 kB / 0.6005 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.1904, allocations: 80.14 kB / 0.6006 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1905, allocations: 7.891 kB / 0.6006 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1905, allocations: 0 / 0.6006 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1906, allocations: 314.8 kB / 0.6009 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.1907, allocations: 20.02 kB / 0.6009 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.1907, allocations: 8 kB / 0.601 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.1908, allocations: 11.98 kB / 0.601 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1908, allocations: 0 / 0.601 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001551/0.1909, allocations: 65.61 kB / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.191, allocations: 9.5 kB / 0.601 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.191, allocations: 0 / 0.601 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.191, allocations: 0 / 0.601 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.1911, allocations: 7.984 kB / 0.601 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1911, allocations: 0 / 0.601 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.1912, allocations: 7.938 kB / 0.6011 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1912, allocations: 3.984 kB / 0.6011 GB, free: 3.844 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 (2): * Single equations (assignments): 2 * 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 6.944e-05/0.1913, allocations: 113.8 kB / 0.6012 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.1913, allocations: 4 kB / 0.6012 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.1913, allocations: 11.06 kB / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1913, allocations: 0 / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1913, allocations: 0 / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1913, allocations: 4 kB / 0.6012 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.1915, allocations: 157.5 kB / 0.6013 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1915, allocations: 7.922 kB / 0.6013 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.1915, allocations: 8 kB / 0.6013 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1916, allocations: 4 kB / 0.6014 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1916, allocations: 3.984 kB / 0.6014 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1916, allocations: 0 / 0.6014 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1916, allocations: 0 / 0.6014 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1918, allocations: 89 kB / 0.6014 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.1918, allocations: 81.09 kB / 0.6015 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1919, allocations: 8.031 kB / 0.6015 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.1919, allocations: 0 / 0.6015 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.1919, allocations: 0 / 0.6015 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1919, allocations: 7.984 kB / 0.6015 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.192, allocations: 75.28 kB / 0.6016 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.192, allocations: 0 / 0.6016 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002017/0.1922, allocations: 16 kB / 0.6016 GB, free: 3.172 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 (2): * Single equations (assignments): 2 * 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.0004974/0.1927, allocations: 0.6358 MB / 0.6022 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1929, allocations: 27.97 kB / 0.6023 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1929, allocations: 4.094 kB / 0.6023 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.1929, allocations: 15.98 kB / 0.6023 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1931, allocations: 7.984 kB / 0.6023 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.1936, allocations: 158.2 kB / 0.6024 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1939, allocations: 0.681 MB / 0.6031 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.11e-05/0.194, allocations: 15.88 kB / 0.6031 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.194, allocations: 11.44 kB / 0.6031 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.194, allocations: 0 / 0.6031 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.2053, allocations: 1.375 MB / 0.6045 GB, free: 348 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.2056, allocations: 222.4 kB / 0.6047 GB, free: 108 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.878, allocations: 0 / 0.6047 GB, free: 108 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: