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.001236/0.001236, 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.001016/0.001016, allocations: 193.5 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002193/0.002193, allocations: 274.9 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9226/0.9226, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 98.31 kB / 0.5946 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1793, allocations: 86.98 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002351/0.1816, allocations: 1.307 MB / 0.6808 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005561/0.1822, allocations: 235.3 kB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.434e-05/0.1822, allocations: 8 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.1823, allocations: 3.938 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.1823, allocations: 7.922 kB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1826, allocations: 31.89 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.1826, allocations: 19.88 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.1827, allocations: 7.984 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.1827, allocations: 4 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.1828, allocations: 15.92 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1828, allocations: 0 / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1829, allocations: 43.97 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.183, allocations: 11.97 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.183, allocations: 4 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1831, allocations: 44.11 kB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1832, allocations: 0 / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1832, allocations: 0 / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1832, allocations: 0 / 0.6813 GB, free: 15.35 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.0004196/0.1836, allocations: 335.6 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1836, allocations: 8.031 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.1837, allocations: 42.75 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.1838, allocations: 8.922 kB / 0.6816 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/0.1839, allocations: 164.4 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.184, allocations: 4.359 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.184, allocations: 384 / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1841, allocations: 50.19 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.1841, allocations: 3.938 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1842, allocations: 4 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1842, allocations: 0 / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.223e-05/0.1842, allocations: 19.98 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.1844, allocations: 157.6 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.034e-05/0.1845, allocations: 42.64 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.1845, allocations: 24.97 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1846, allocations: 0 / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1846, allocations: 38.5 kB / 0.6821 GB, free: 14.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/0.1846, allocations: 4 kB / 0.6821 GB, free: 14.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002093/0.1867, allocations: 0.494 MB / 0.6826 GB, free: 13.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1867, allocations: 55.41 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.856e-05/0.1868, allocations: 89.86 kB / 0.6827 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1868, allocations: 25.7 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.1869, allocations: 80.14 kB / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1869, allocations: 23.66 kB / 0.6829 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.1869, allocations: 25.7 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1871, allocations: 314.8 kB / 0.6832 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.1871, allocations: 23.98 kB / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.75e-05/0.1872, allocations: 27.94 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1873, allocations: 64.77 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1873, allocations: 0 / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001421/0.1874, allocations: 101.5 kB / 0.6834 GB, free: 12.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1875, allocations: 4 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1875, allocations: 0 / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1875, allocations: 0 / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1876, allocations: 12 kB / 0.6834 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1877, allocations: 7.984 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.1877, allocations: 0 / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1877, allocations: 8 kB / 0.6834 GB, free: 12.84 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.095e-05/0.1878, allocations: 110.5 kB / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.1878, allocations: 3.938 kB / 0.6835 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.1879, allocations: 19.97 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1879, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1879, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1879, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.1881, allocations: 167.5 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1881, allocations: 0 / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1882, allocations: 23.86 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1882, allocations: 8 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1882, allocations: 4 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1882, allocations: 0 / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1883, allocations: 0.7188 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1885, allocations: 149.1 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1886, allocations: 92.92 kB / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1886, allocations: 0 / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1887, allocations: 16.05 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.1887, allocations: 0 / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1887, allocations: 8 kB / 0.684 GB, free: 12.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.119e-05/0.1888, allocations: 79.22 kB / 0.6841 GB, free: 12.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1888, allocations: 0 / 0.6841 GB, free: 12.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.189, allocations: 8 kB / 0.6841 GB, free: 12.07 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.0004963/0.1895, allocations: 0.6944 MB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1896, allocations: 59.92 kB / 0.6848 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1896, allocations: 0 / 0.6848 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.1897, allocations: 31.98 kB / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.19, allocations: 4 kB / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.1914, allocations: 1.281 MB / 0.6861 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.1917, allocations: 0.6809 MB / 0.6868 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.012e-05/0.1918, allocations: 11.98 kB / 0.6868 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.1919, allocations: 15.44 kB / 0.6868 GB, free: 9.152 MB / 494.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1919, allocations: 0 / 0.6868 GB, free: 9.152 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.2035, allocations: 1.496 MB / 0.6883 GB, free: 7.863 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.2038, allocations: 280.4 kB / 0.6885 GB, free: 7.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.885, allocations: 0 / 0.6885 GB, free: 7.496 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)