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.001065/0.001065, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001205/0.001205, 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.046/1.046, allocations: 143.3 MB / 434.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002994, allocations: 12 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1816, allocations: 83.42 MB / 0.5974 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001439/0.1831, allocations: 0.9901 MB / 0.5983 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000836/0.184, allocations: 0.5153 MB / 0.5988 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.184, allocations: 0 / 0.5988 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.184, allocations: 0 / 0.5988 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.1841, allocations: 7.922 kB / 0.5988 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1844, allocations: 79.8 kB / 0.5989 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.1845, allocations: 19.97 kB / 0.5989 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.1845, allocations: 0 / 0.5989 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.1846, allocations: 4 kB / 0.5989 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.1847, allocations: 19.86 kB / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1847, allocations: 0 / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.185, allocations: 151.8 kB / 0.5991 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.185, allocations: 7.984 kB / 0.5991 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.185, allocations: 29.7 kB / 0.5991 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1852, allocations: 60.16 kB / 0.5992 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1852, allocations: 4 kB / 0.5992 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.746e-06/0.1852, allocations: 0 / 0.5992 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.1852, allocations: 0 / 0.5992 GB, free: 5.812 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.0004242/0.1856, allocations: 347.3 kB / 0.5995 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1857, allocations: 8.031 kB / 0.5995 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.1857, allocations: 30.56 kB / 0.5996 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.1862, allocations: 31.83 kB / 0.5996 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1863, allocations: 163.1 kB / 0.5998 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1863, allocations: 0 / 0.5998 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.1864, allocations: 11.92 kB / 0.5998 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1865, allocations: 45.67 kB / 0.5998 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1865, allocations: 0 / 0.5998 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1866, allocations: 0 / 0.5998 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1866, allocations: 0 / 0.5998 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1867, allocations: 31.86 kB / 0.5998 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.1869, allocations: 153.7 kB / 0.6 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.187, allocations: 50.58 kB / 0.6 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.187, allocations: 3.938 kB / 0.6 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1871, allocations: 30.56 kB / 0.6001 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1871, allocations: 0 / 0.6001 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002956/0.1874, allocations: 73.72 kB / 0.6001 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1874, allocations: 51.41 kB / 0.6002 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.1875, allocations: 93.86 kB / 0.6003 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1875, allocations: 29.7 kB / 0.6003 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.1876, allocations: 80.14 kB / 0.6004 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.1876, allocations: 3.906 kB / 0.6004 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.1876, allocations: 4 kB / 0.6004 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1878, allocations: 322.9 kB / 0.6007 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.1878, allocations: 11.98 kB / 0.6007 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.1879, allocations: 11.94 kB / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/0.188, allocations: 15.98 kB / 0.6007 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.188, allocations: 0 / 0.6007 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001573/0.1881, allocations: 57.73 kB / 0.6008 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1882, allocations: 4.938 kB / 0.6008 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1882, allocations: 0 / 0.6008 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1882, allocations: 4.188 kB / 0.6008 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1883, allocations: 7.984 kB / 0.6008 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1883, allocations: 3.938 kB / 0.6008 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.1884, allocations: 7.938 kB / 0.6008 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1884, allocations: 7.984 kB / 0.6008 GB, free: 3.926 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 7.981e-05/0.1885, allocations: 113.8 kB / 0.6009 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.1885, allocations: 3.984 kB / 0.6009 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.1885, allocations: 7.125 kB / 0.6009 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1885, allocations: 0 / 0.6009 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.1886, allocations: 0 / 0.6009 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1886, allocations: 3.938 kB / 0.6009 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.1887, allocations: 157.6 kB / 0.6011 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1887, allocations: 0 / 0.6011 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.1888, allocations: 11.98 kB / 0.6011 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1888, allocations: 0 / 0.6011 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1888, allocations: 7.984 kB / 0.6011 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1888, allocations: 0 / 0.6011 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1888, allocations: 4 kB / 0.6011 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.189, allocations: 96.91 kB / 0.6012 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.1891, allocations: 85.09 kB / 0.6013 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1891, allocations: 0 / 0.6013 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.1892, allocations: 4 kB / 0.6013 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.1892, allocations: 0 / 0.6013 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1892, allocations: 3.984 kB / 0.6013 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.1893, allocations: 79.28 kB / 0.6014 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1893, allocations: 0 / 0.6014 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002024/0.1895, allocations: 8 kB / 0.6014 GB, free: 3.258 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.000516/0.19, allocations: 0.6397 MB / 0.602 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1902, allocations: 32 kB / 0.602 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1902, allocations: 0 / 0.602 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.1903, allocations: 19.92 kB / 0.6021 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.1904, allocations: 11.97 kB / 0.6021 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.1909, allocations: 158.3 kB / 0.6022 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1911, allocations: 0.6809 MB / 0.6029 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.476e-05/0.1912, allocations: 8 kB / 0.6029 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.1913, allocations: 15.38 kB / 0.6029 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1913, allocations: 0 / 0.6029 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.203, allocations: 1.35 MB / 0.6042 GB, free: 452 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.2033, allocations: 214.8 kB / 0.6044 GB, free: 204 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.869, allocations: 4 kB / 0.6044 GB, free: 200 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: