Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7895/0.7895, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001479/0.001479, allocations: 185 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.472/1.472, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0009192/0.0009191, allocations: 84.34 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.00201, allocations: 268 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004395, allocations: 17.94 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.3685, allocations: 109.6 MB / 0.8808 GB, free: 76 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.3888/0.7574, allocations: 86.33 kB / 0.8809 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005246/0.7627, allocations: 1.799 MB / 0.8826 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7628, allocations: 2.844 kB / 0.8826 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7628, allocations: 4 kB / 0.8826 GB, free: 109.6 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000256/0.763, allocations: 344.8 kB / 0.883 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7631, allocations: 8.688 kB / 0.883 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.7634, allocations: 23.62 kB / 0.883 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.642e-05/0.7635, allocations: 162.3 kB / 0.8831 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7635, allocations: 6.469 kB / 0.8832 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.7636, allocations: 5.219 kB / 0.8832 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.7637, allocations: 46.11 kB / 0.8832 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.7637, allocations: 3.938 kB / 0.8832 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.7637, allocations: 2.531 kB / 0.8832 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.7638, allocations: 0 / 0.8832 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.7639, allocations: 28.53 kB / 0.8832 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.764, allocations: 165.7 kB / 0.8834 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.7642, allocations: 43.73 kB / 0.8834 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.7642, allocations: 0 / 0.8834 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.7642, allocations: 35.19 kB / 0.8835 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/0.7642, allocations: 1.125 kB / 0.8835 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002728/0.7645, allocations: 77.97 kB / 0.8835 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.7645, allocations: 51.41 kB / 0.8836 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.035e-05/0.7646, allocations: 91.22 kB / 0.8837 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.7646, allocations: 25.7 kB / 0.8837 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.817e-05/0.7646, allocations: 83.39 kB / 0.8838 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.7646, allocations: 7.281 kB / 0.8838 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.7647, allocations: 4.125 kB / 0.8838 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.7647, allocations: 314.8 kB / 0.8841 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.7648, allocations: 9.469 kB / 0.8841 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.7648, allocations: 13 kB / 0.8841 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.7649, allocations: 12.38 kB / 0.8841 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7649, allocations: 0 / 0.8841 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001477/0.7651, allocations: 65.3 kB / 0.8842 GB, free: 108 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.7651, allocations: 6.219 kB / 0.8842 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7651, allocations: 8.062 kB / 0.8842 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7651, allocations: 0.7031 kB / 0.8842 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.7652, allocations: 6.953 kB / 0.8842 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.7652, allocations: 0 / 0.8842 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.7653, allocations: 2 kB / 0.8842 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.7653, allocations: 9.359 kB / 0.8842 GB, free: 108 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 (2): * Single equations (assignments): 2 * 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 5.143e-05/0.7654, allocations: 115.3 kB / 0.8843 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.7654, allocations: 3.953 kB / 0.8843 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.7654, allocations: 3.969 kB / 0.8843 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7654, allocations: 2.219 kB / 0.8843 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7654, allocations: 0.9375 kB / 0.8843 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.7655, allocations: 0 / 0.8843 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.278e-05/0.7655, allocations: 160.8 kB / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7655, allocations: 0 / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.7656, allocations: 13.33 kB / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7656, allocations: 0 / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7656, allocations: 8.453 kB / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7657, allocations: 0 / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7657, allocations: 0 / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.7658, allocations: 92.27 kB / 0.8846 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.7659, allocations: 86.72 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.7659, allocations: 0.8125 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.766, allocations: 12.66 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.766, allocations: 1.062 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.766, allocations: 1.125 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.766, allocations: 77.75 kB / 0.8848 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.766, allocations: 0 / 0.8848 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002113/0.7662, allocations: 19.92 kB / 0.8848 GB, free: 107.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001562/0.7664, allocations: 119.7 kB / 0.8849 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.7666, allocations: 27.22 kB / 0.8849 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7666, allocations: 0 / 0.8849 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.7667, allocations: 24.91 kB / 0.885 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.7668, allocations: 11.69 kB / 0.885 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.7671, allocations: 118.9 kB / 0.8851 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.7673, allocations: 0.678 MB / 0.8857 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.542e-05/0.7673, allocations: 15.31 kB / 0.8858 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.7674, allocations: 14.12 kB / 0.8858 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.7674, allocations: 0 / 0.8858 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.002593/0.77, allocations: 0.6934 MB / 0.8865 GB, free: 106.5 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)