Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.804/0.804, allocations: 143.4 MB / 158.3 MB, free: 5.668 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.001266/0.001265, allocations: 178.8 kB / 191.5 MB, free: 5.637 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.419/1.419, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0009217/0.0009214, allocations: 96.36 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.002149/0.002149, allocations: 273.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.000436, allocations: 17.59 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5526/0.7213, allocations: 110 MB / 0.8812 GB, free: 31.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.7217, allocations: 82.38 kB / 0.8813 GB, free: 31.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006042/0.7277, allocations: 1.972 MB / 0.8832 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7278, allocations: 0 / 0.8832 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.7278, allocations: 0 / 0.8832 GB, free: 31.24 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003284/0.7281, allocations: 368 kB / 0.8836 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.7282, allocations: 9.672 kB / 0.8836 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.7285, allocations: 33.34 kB / 0.8836 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/0.7286, allocations: 162.5 kB / 0.8838 GB, free: 30.67 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.7286, allocations: 6.672 kB / 0.8838 GB, free: 30.67 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.7287, allocations: 0 / 0.8838 GB, free: 30.67 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.7289, allocations: 76.97 kB / 0.8838 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7289, allocations: 3.938 kB / 0.8838 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.7289, allocations: 0 / 0.8838 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7289, allocations: 0 / 0.8838 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.7292, allocations: 67.2 kB / 0.8839 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.7296, allocations: 275.7 kB / 0.8842 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.7298, allocations: 62.52 kB / 0.8842 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.7298, allocations: 1.547 kB / 0.8842 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.7298, allocations: 30.56 kB / 0.8843 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.7298, allocations: 0 / 0.8843 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004746/0.7303, allocations: 136.3 kB / 0.8844 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.7303, allocations: 55.69 kB / 0.8844 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.7304, allocations: 93.48 kB / 0.8845 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.7304, allocations: 25.7 kB / 0.8846 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.7305, allocations: 83.08 kB / 0.8846 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.7305, allocations: 6.719 kB / 0.8846 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.7305, allocations: 0 / 0.8846 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.7306, allocations: 317.5 kB / 0.8849 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.7307, allocations: 38.75 kB / 0.885 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.7308, allocations: 28.31 kB / 0.885 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.7309, allocations: 34.48 kB / 0.885 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7309, allocations: 1.5 kB / 0.885 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002706/0.7312, allocations: 102.1 kB / 0.8851 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7312, allocations: 2.844 kB / 0.8851 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7313, allocations: 0 / 0.8851 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7313, allocations: 2.656 kB / 0.8851 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.7314, allocations: 17.69 kB / 0.8852 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.7314, allocations: 0 / 0.8852 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.7315, allocations: 27.02 kB / 0.8852 GB, free: 29.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.7315, allocations: 1.547 kB / 0.8852 GB, free: 29.6 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.747e-05/0.7316, allocations: 112.5 kB / 0.8853 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.7316, allocations: 1.594 kB / 0.8853 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.7317, allocations: 8.75 kB / 0.8853 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7317, allocations: 0.6562 kB / 0.8853 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7317, allocations: 0 / 0.8853 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7317, allocations: 4 kB / 0.8853 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.7318, allocations: 172 kB / 0.8855 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.7318, allocations: 1.125 kB / 0.8855 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.732, allocations: 16.03 kB / 0.8855 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.732, allocations: 2.719 kB / 0.8855 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.732, allocations: 7.172 kB / 0.8855 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.732, allocations: 0 / 0.8855 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.732, allocations: 0 / 0.8855 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.7323, allocations: 200 kB / 0.8857 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.7324, allocations: 79.67 kB / 0.8858 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.7324, allocations: 4.812 kB / 0.8858 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7325, allocations: 9.578 kB / 0.8858 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.7325, allocations: 4.938 kB / 0.8858 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.7326, allocations: 0 / 0.8858 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.637e-05/0.7326, allocations: 88.53 kB / 0.8859 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7326, allocations: 0 / 0.8859 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002309/0.7328, allocations: 17.41 kB / 0.8859 GB, free: 28.96 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.0001518/0.733, allocations: 117.2 kB / 0.886 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.7333, allocations: 71.55 kB / 0.8861 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7333, allocations: 0 / 0.8861 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.7334, allocations: 37.11 kB / 0.8861 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.7336, allocations: 4.938 kB / 0.8861 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.734, allocations: 144.4 kB / 0.8862 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009475/0.7349, allocations: 0.6806 MB / 0.8869 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.184e-05/0.735, allocations: 21.16 kB / 0.8869 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.7351, allocations: 10.62 kB / 0.8869 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of SimCode: time 2.6e-07/0.7351, allocations: 0 / 0.8869 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.002713/0.7378, allocations: 0.7013 MB / 0.8876 GB, free: 43.95 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)