Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.0007669/0.0007666, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004936/0.004936, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001639/0.001639, allocations: 270.5 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9053/0.9053, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004352, allocations: 15.2 kB / 0.5988 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1836, allocations: 88.54 MB / 0.6852 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001346/0.185, allocations: 0.9785 MB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004802/0.1855, allocations: 236.7 kB / 0.6864 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.273e-05/0.1855, allocations: 0 / 0.6864 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.1856, allocations: 0 / 0.6864 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.1856, allocations: 9.109 kB / 0.6864 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1859, allocations: 33.91 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.746e-05/0.1859, allocations: 27.91 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.186, allocations: 0 / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.186, allocations: 15.92 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.1861, allocations: 4 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1861, allocations: 0 / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/0.1862, allocations: 44.7 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.1862, allocations: 11.94 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.1862, allocations: 39.98 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.1864, allocations: 36.19 kB / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1864, allocations: 0 / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.1864, allocations: 0 / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1864, allocations: 3.938 kB / 0.6866 GB, free: 13.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003353/0.1867, allocations: 333.6 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1868, allocations: 8.031 kB / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.1868, allocations: 30.75 kB / 0.687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.187, allocations: 13.55 kB / 0.687 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.741e-05/0.187, allocations: 160.4 kB / 0.6872 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.1871, allocations: 5.969 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.1871, allocations: 4.375 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1872, allocations: 46.19 kB / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1872, allocations: 5 kB / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1872, allocations: 0 / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1873, allocations: 0 / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.1873, allocations: 20.66 kB / 0.6872 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.1875, allocations: 168.8 kB / 0.6874 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.1876, allocations: 38.62 kB / 0.6874 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.1876, allocations: 24.92 kB / 0.6875 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.1877, allocations: 0 / 0.6875 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1877, allocations: 34.56 kB / 0.6875 GB, free: 12.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.1877, allocations: 1.344 kB / 0.6875 GB, free: 12.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002008/0.1897, allocations: 0.5 MB / 0.688 GB, free: 11.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1898, allocations: 55.41 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.1898, allocations: 93.86 kB / 0.6881 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1899, allocations: 25.7 kB / 0.6882 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.1899, allocations: 80.14 kB / 0.6882 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.1899, allocations: 27.64 kB / 0.6883 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.19, allocations: 13.72 kB / 0.6883 GB, free: 11.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1901, allocations: 314.8 kB / 0.6886 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.203e-05/0.1901, allocations: 23.98 kB / 0.6886 GB, free: 11.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.1902, allocations: 27.92 kB / 0.6886 GB, free: 11.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.973e-05/0.1903, allocations: 60.98 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1903, allocations: 0 / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001391/0.1904, allocations: 101.5 kB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1905, allocations: 4 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1905, allocations: 3.938 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1905, allocations: 0 / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1906, allocations: 15.98 kB / 0.6888 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1906, allocations: 4 kB / 0.6888 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.1907, allocations: 4 kB / 0.6888 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1907, allocations: 4 kB / 0.6888 GB, free: 10.99 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 (9): * Single equations (assignments): 9 * 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 8.247e-05/0.1908, allocations: 110.5 kB / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.1908, allocations: 4.375 kB / 0.6889 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.1909, allocations: 15.97 kB / 0.6889 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1909, allocations: 4 kB / 0.6889 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1909, allocations: 3.938 kB / 0.6889 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1909, allocations: 3.984 kB / 0.6889 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.1911, allocations: 171.5 kB / 0.6891 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1911, allocations: 4 kB / 0.6891 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.1912, allocations: 19.92 kB / 0.6891 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1912, allocations: 0 / 0.6891 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1912, allocations: 8 kB / 0.6891 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1912, allocations: 0 / 0.6891 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1912, allocations: 0 / 0.6891 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1915, allocations: 137.1 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.1915, allocations: 84.95 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1915, allocations: 7.969 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1916, allocations: 12.05 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.1917, allocations: 0 / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1917, allocations: 8.094 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.161e-05/0.1917, allocations: 79.22 kB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1917, allocations: 0 / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000179/0.1919, allocations: 8 kB / 0.6895 GB, free: 10.23 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 (8): * Single equations (assignments): 8 * 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.000471/0.1924, allocations: 0.6962 MB / 0.6901 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1925, allocations: 55.92 kB / 0.6902 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1925, allocations: 0 / 0.6902 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.185e-05/0.1926, allocations: 39.92 kB / 0.6902 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1928, allocations: 4 kB / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1941, allocations: 1.277 MB / 0.6915 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1943, allocations: 0.6813 MB / 0.6922 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.264e-05/0.1944, allocations: 12 kB / 0.6922 GB, free: 7.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.1945, allocations: 19.38 kB / 0.6922 GB, free: 7.312 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1945, allocations: 0 / 0.6922 GB, free: 7.312 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1859/0.3803, allocations: 1.425 MB / 0.6936 GB, free: 6.117 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.3806, allocations: 275.1 kB / 0.6938 GB, free: 5.758 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.052, allocations: 3.094 kB / 0.6938 GB, free: 5.758 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)