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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001837, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001631/0.001631, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 290.9 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 178.6 MB / 0.5068 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 98.48 kB / 0.6057 GB, free: 25.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.179, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00254/0.1815, allocations: 1.311 MB / 0.6941 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005365/0.1821, allocations: 253 kB / 0.6943 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.313e-05/0.1821, allocations: 0 / 0.6943 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.1821, allocations: 0 / 0.6943 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.1822, allocations: 3.938 kB / 0.6943 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1825, allocations: 32.64 kB / 0.6944 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.1825, allocations: 20.58 kB / 0.6944 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1826, allocations: 0 / 0.6944 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.1826, allocations: 12.66 kB / 0.6944 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.1827, allocations: 12.97 kB / 0.6944 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1827, allocations: 0 / 0.6944 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1828, allocations: 47.95 kB / 0.6945 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1828, allocations: 4.594 kB / 0.6945 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1829, allocations: 7.938 kB / 0.6945 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.183, allocations: 44.17 kB / 0.6945 GB, free: 3.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.183, allocations: 7.938 kB / 0.6945 GB, free: 3.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.183, allocations: 0 / 0.6945 GB, free: 3.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.183, allocations: 0 / 0.6945 GB, free: 3.098 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.000408/0.1834, allocations: 335.6 kB / 0.6948 GB, free: 2.719 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1835, allocations: 12.03 kB / 0.6948 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.1836, allocations: 8.922 kB / 0.6949 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1837, allocations: 160.4 kB / 0.695 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1838, allocations: 8.375 kB / 0.695 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1838, allocations: 384 / 0.695 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1839, allocations: 50.19 kB / 0.6951 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1839, allocations: 192 / 0.6951 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.184, allocations: 7.938 kB / 0.6951 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.184, allocations: 0 / 0.6951 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.188e-05/0.184, allocations: 15.98 kB / 0.6951 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.1842, allocations: 157.6 kB / 0.6952 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/0.1843, allocations: 42.64 kB / 0.6953 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.1844, allocations: 24.97 kB / 0.6953 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1844, allocations: 3.984 kB / 0.6953 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1844, allocations: 38.5 kB / 0.6953 GB, free: 2.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1844, allocations: 0 / 0.6953 GB, free: 2.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0022/0.1866, allocations: 0.498 MB / 0.6958 GB, free: 1.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1867, allocations: 55.41 kB / 0.6959 GB, free: 1.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.916e-05/0.1867, allocations: 93.8 kB / 0.696 GB, free: 1.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1868, allocations: 25.7 kB / 0.696 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.1868, allocations: 84.14 kB / 0.6961 GB, free: 1.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1869, allocations: 27.56 kB / 0.6961 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.1869, allocations: 25.7 kB / 0.6961 GB, free: 1.191 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1871, allocations: 314.8 kB / 0.6964 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.1871, allocations: 23.98 kB / 0.6964 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.1872, allocations: 20 kB / 0.6965 GB, free: 0.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1873, allocations: 60.78 kB / 0.6965 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1873, allocations: 0 / 0.6965 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001589/0.1874, allocations: 97.62 kB / 0.6966 GB, free: 0.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1875, allocations: 11.88 kB / 0.6966 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1875, allocations: 0 / 0.6966 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1875, allocations: 0 / 0.6966 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1876, allocations: 12 kB / 0.6966 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1877, allocations: 4 kB / 0.6966 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.1877, allocations: 3.984 kB / 0.6967 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1878, allocations: 4 kB / 0.6967 GB, free: 0.6328 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.474e-05/0.1878, allocations: 109.8 kB / 0.6968 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.1879, allocations: 3.938 kB / 0.6968 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.1879, allocations: 19.97 kB / 0.6968 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1879, allocations: 4.281 kB / 0.6968 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1879, allocations: 0 / 0.6968 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1879, allocations: 0 / 0.6968 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.1881, allocations: 171.5 kB / 0.6969 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1881, allocations: 0 / 0.6969 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1883, allocations: 19.92 kB / 0.697 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1883, allocations: 3.938 kB / 0.697 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1883, allocations: 8 kB / 0.697 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1883, allocations: 80 / 0.697 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1883, allocations: 7.984 kB / 0.697 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.1886, allocations: 145 kB / 0.6971 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.1886, allocations: 81.05 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1887, allocations: 4.469 kB / 0.6972 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1888, allocations: 4 kB / 0.6972 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.1888, allocations: 3.984 kB / 0.6972 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1888, allocations: 15.94 kB / 0.6972 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.1889, allocations: 79.34 kB / 0.6973 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1889, allocations: 0 / 0.6973 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001854/0.1891, allocations: 8 kB / 0.6973 GB, free: 15.86 MB / 0.4981 GB 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.0001571/0.1892, allocations: 107.2 kB / 0.6974 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1894, allocations: 55.97 kB / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1894, allocations: 0 / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.758e-05/0.1895, allocations: 35.94 kB / 0.6975 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.1897, allocations: 12.64 kB / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.1903, allocations: 185.2 kB / 0.6977 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1907, allocations: 0.6809 MB / 0.6984 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.61e-05/0.1908, allocations: 8 kB / 0.6984 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1908, allocations: 15.44 kB / 0.6984 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.1908, allocations: 0 / 0.6984 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.003252/0.1941, allocations: 0.6664 MB / 0.699 GB, free: 14.08 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)