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.001412/0.001412, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002352/0.002352, allocations: 297.6 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9903/0.9903, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 97.41 kB / 0.5954 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1767, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.003775/0.1805, allocations: 1.246 MB / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.1812, allocations: 236.8 kB / 0.6817 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.1812, allocations: 0 / 0.6817 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.1813, allocations: 0 / 0.6817 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.526e-05/0.1813, allocations: 0.625 kB / 0.6817 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.1818, allocations: 49.08 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.18e-05/0.1819, allocations: 15.97 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.1819, allocations: 4.75 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.41e-05/0.182, allocations: 15.92 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.1821, allocations: 8 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1821, allocations: 0 / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1823, allocations: 43.95 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.1823, allocations: 4 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.1823, allocations: 15.91 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1825, allocations: 36.19 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1825, allocations: 0 / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.38e-06/0.1825, allocations: 0 / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1825, allocations: 7.875 kB / 0.6819 GB, free: 14.89 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.0004952/0.183, allocations: 341.5 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1831, allocations: 8.031 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.1831, allocations: 34.75 kB / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.1833, allocations: 12.92 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1834, allocations: 168.4 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1835, allocations: 384 / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1835, allocations: 4.375 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1836, allocations: 42.25 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1837, allocations: 3.938 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1837, allocations: 8 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1837, allocations: 3.984 kB / 0.6825 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.1838, allocations: 15.94 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.184, allocations: 165.7 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1841, allocations: 42.56 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.1841, allocations: 20.97 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1841, allocations: 0 / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1842, allocations: 38.56 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.1842, allocations: 3.938 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002154/0.1863, allocations: 0.494 MB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1864, allocations: 51.41 kB / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.1864, allocations: 89.86 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1865, allocations: 29.7 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.1865, allocations: 84.12 kB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1866, allocations: 23.66 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1866, allocations: 17.72 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1867, allocations: 322.8 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.1868, allocations: 20 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.1868, allocations: 23.98 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1869, allocations: 56.86 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1869, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001457/0.1871, allocations: 101.5 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1871, allocations: 4 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1871, allocations: 3.938 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1872, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1873, allocations: 15.94 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1873, allocations: 8 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.1874, allocations: 4 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1874, allocations: 288 / 0.6841 GB, free: 12.38 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.458e-05/0.1875, allocations: 114.5 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.1875, allocations: 7.922 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.1876, allocations: 19.91 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1876, allocations: 448 / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1876, allocations: 0 / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1876, allocations: 0 / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1878, allocations: 183.5 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1878, allocations: 0 / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.1879, allocations: 15.94 kB / 0.6844 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1879, allocations: 4 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1879, allocations: 0 / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1879, allocations: 0 / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1879, allocations: 3.938 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1882, allocations: 145.2 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.1882, allocations: 89.05 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1883, allocations: 4 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1884, allocations: 8 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.1884, allocations: 3.984 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1884, allocations: 4 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.004e-05/0.1884, allocations: 75.28 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1885, allocations: 0 / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001912/0.1887, allocations: 12 kB / 0.6848 GB, free: 11.61 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.0005001/0.1892, allocations: 0.6904 MB / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1893, allocations: 67.91 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1893, allocations: 0 / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.1894, allocations: 27.98 kB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1896, allocations: 10.03 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1911, allocations: 1.267 MB / 0.6868 GB, free: 9.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1913, allocations: 0.6923 MB / 0.6875 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.767e-05/0.1914, allocations: 8 kB / 0.6875 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.1915, allocations: 15.42 kB / 0.6875 GB, free: 8.699 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1915, allocations: 0 / 0.6875 GB, free: 8.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.2216, allocations: 1.628 MB / 0.6891 GB, free: 7.254 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.758, allocations: 11.62 kB / 0.6891 GB, free: 7.25 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)