Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001033/0.001033, allocations: 195.7 kB / 16.14 MB, free: 6.707 MB / 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: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 279.7 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9405/0.9405, allocations: 169.2 MB / 0.4977 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 94.09 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1797, allocations: 86.98 MB / 0.6796 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002372/0.1821, allocations: 1.353 MB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1832, allocations: 0.6503 MB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.1832, allocations: 0 / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.1832, allocations: 0 / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.1833, allocations: 7.922 kB / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1836, allocations: 88.94 kB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.878e-05/0.1837, allocations: 24.75 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.1837, allocations: 3.984 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.1838, allocations: 8.531 kB / 0.6816 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.1838, allocations: 19.91 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1839, allocations: 1.062 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.1841, allocations: 147.7 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1841, allocations: 8.984 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.1842, allocations: 11.92 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1844, allocations: 96.05 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1844, allocations: 4 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1844, allocations: 0 / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1844, allocations: 0 / 0.6819 GB, free: 14.6 MB / 494.1 MB 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.0004406/0.1848, allocations: 355.5 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1849, allocations: 8.031 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.1849, allocations: 34.75 kB / 0.6823 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004261/0.1854, allocations: 32.91 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1855, allocations: 172.2 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.1855, allocations: 384 / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1855, allocations: 4.375 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1857, allocations: 50.22 kB / 0.6825 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.1857, allocations: 7.938 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1857, allocations: 4 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1858, allocations: 0 / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1859, allocations: 31.97 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.1861, allocations: 153.7 kB / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.1864, allocations: 74.52 kB / 0.6828 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.1865, allocations: 28.92 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1865, allocations: 0 / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1865, allocations: 34.56 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1866, allocations: 0 / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003406/0.19, allocations: 0.5799 MB / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.19, allocations: 51.41 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.633e-05/0.1901, allocations: 101.8 kB / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1901, allocations: 25.7 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.1902, allocations: 88.14 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.1902, allocations: 19.78 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.1903, allocations: 29.69 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1904, allocations: 318.8 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1905, allocations: 35.97 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1907, allocations: 35.95 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.1909, allocations: 92.8 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.191, allocations: 0 / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003414/0.1913, allocations: 125.5 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1913, allocations: 4 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1913, allocations: 0 / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1914, allocations: 0 / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1916, allocations: 27.91 kB / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-06/0.1916, allocations: 0 / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1917, allocations: 11.98 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1918, allocations: 4 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.1919, allocations: 114.5 kB / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.1919, allocations: 7.938 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.192, allocations: 7.969 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.192, allocations: 0 / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.192, allocations: 4 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.192, allocations: 4 kB / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1922, allocations: 191.6 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1922, allocations: 0 / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.1924, allocations: 27.91 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1925, allocations: 0 / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.1925, allocations: 7.984 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1925, allocations: 0 / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1925, allocations: 3.938 kB / 0.6847 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.193, allocations: 185 kB / 0.6849 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.1931, allocations: 81.05 kB / 0.685 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1931, allocations: 12.02 kB / 0.685 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.1933, allocations: 8.188 kB / 0.685 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1934, allocations: 11.98 kB / 0.685 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1934, allocations: 4 kB / 0.685 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.205e-05/0.1934, allocations: 79.27 kB / 0.6851 GB, free: 10.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.236e-06/0.1934, allocations: 0 / 0.6851 GB, free: 10.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1937, allocations: 35.94 kB / 0.6851 GB, free: 10.96 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009953/0.1947, allocations: 0.7607 MB / 0.6859 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.1951, allocations: 83.94 kB / 0.6859 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1951, allocations: 0 / 0.6859 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1952, allocations: 51.89 kB / 0.686 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1956, allocations: 8 kB / 0.686 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.1976, allocations: 1.362 MB / 0.6873 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1979, allocations: 0.677 MB / 0.688 GB, free: 7.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.1981, allocations: 24.09 kB / 0.688 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.1982, allocations: 27.34 kB / 0.688 GB, free: 7.828 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1982, allocations: 0 / 0.688 GB, free: 7.828 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.211, allocations: 2.341 MB / 0.6903 GB, free: 5.699 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/0.2113, allocations: 272.3 kB / 0.6906 GB, free: 5.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.93, allocations: 3.094 kB / 0.6906 GB, free: 5.34 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)