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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 143.4 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001138, allocations: 165.1 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.0009587, allocations: 95.75 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001852/0.001852, allocations: 268 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005082, allocations: 13.62 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1984, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.3622, allocations: 108.9 MB / 0.8801 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.3625, allocations: 85.97 kB / 0.8802 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4385/0.8011, allocations: 1.87 MB / 0.882 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.727e-06/0.8012, allocations: 0 / 0.882 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.8012, allocations: 1.312 kB / 0.882 GB, free: 109.1 MB / 0.5417 GB 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.0003246/0.8015, allocations: 334.1 kB / 0.8823 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.8016, allocations: 9.406 kB / 0.8823 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.8018, allocations: 8.828 kB / 0.8823 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.8018, allocations: 164.8 kB / 0.8825 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.8019, allocations: 12.58 kB / 0.8825 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.8019, allocations: 2.969 kB / 0.8825 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.8021, allocations: 41.89 kB / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8021, allocations: 0 / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.8021, allocations: 3.844 kB / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8021, allocations: 0.6562 kB / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.202e-05/0.8022, allocations: 19.38 kB / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.8024, allocations: 163 kB / 0.8827 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.8025, allocations: 47.47 kB / 0.8828 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.8025, allocations: 0 / 0.8828 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.8025, allocations: 30.56 kB / 0.8828 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.8025, allocations: 2.969 kB / 0.8828 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.002438/0.805, allocations: 0.4889 MB / 0.8833 GB, free: 108 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.805, allocations: 56.88 kB / 0.8833 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.546e-05/0.8051, allocations: 85 kB / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.8051, allocations: 32.95 kB / 0.8835 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.8051, allocations: 80.14 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.8052, allocations: 28.59 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.8052, allocations: 0 / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.8053, allocations: 313.7 kB / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.104e-05/0.8053, allocations: 23.16 kB / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.8054, allocations: 27.55 kB / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.893e-05/0.8055, allocations: 26.91 kB / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8055, allocations: 0 / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001744/0.8057, allocations: 105.2 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.8057, allocations: 5.531 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8057, allocations: 0 / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.8057, allocations: 1.547 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.8059, allocations: 15.92 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.8059, allocations: 4.062 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.806, allocations: 0 / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.806, allocations: 6.781 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/0.8061, allocations: 110.2 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.8061, allocations: 10.11 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.8062, allocations: 18.17 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8062, allocations: 2.656 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8062, allocations: 0.8125 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8063, allocations: 0 / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.8064, allocations: 172.2 kB / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8064, allocations: 0 / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.8066, allocations: 13.12 kB / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.8066, allocations: 3.953 kB / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.8066, allocations: 1 kB / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8066, allocations: 3.031 kB / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8066, allocations: 7.328 kB / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.8069, allocations: 142.3 kB / 0.8845 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.807, allocations: 83.55 kB / 0.8846 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.807, allocations: 3.953 kB / 0.8846 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.8072, allocations: 11.59 kB / 0.8846 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.8072, allocations: 3.469 kB / 0.8846 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.8072, allocations: 3.25 kB / 0.8846 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.718e-05/0.8072, allocations: 79.34 kB / 0.8847 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8072, allocations: 0 / 0.8847 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003111/0.8076, allocations: 16.5 kB / 0.8847 GB, free: 106.8 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.8077, allocations: 107.1 kB / 0.8848 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.8079, allocations: 64.08 kB / 0.8849 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8079, allocations: 192 / 0.8849 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.177e-05/0.808, allocations: 29.22 kB / 0.8849 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.8082, allocations: 12 kB / 0.8849 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.8088, allocations: 193.2 kB / 0.8851 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.809, allocations: 0.6866 MB / 0.8858 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.8091, allocations: 4.188 kB / 0.8858 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.8091, allocations: 15.34 kB / 0.8858 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.8092, allocations: 0 / 0.8858 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.003175/0.8123, allocations: 0.6378 MB / 0.8864 GB, free: 105.8 MB / 0.5417 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)