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.783/0.783, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 174.4 kB / 187.2 MB, free: 11.88 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.515/1.515, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.00121/0.00121, allocations: 99.09 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 281.5 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.498e-05/5.5e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5225/0.5226, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.6559, allocations: 110 MB / 0.8717 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.6562, allocations: 76.39 kB / 0.8717 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006721/0.663, allocations: 1.993 MB / 0.8737 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.583e-06/0.663, allocations: 0 / 0.8737 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.663, allocations: 4 kB / 0.8737 GB, free: 12.54 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.0004336/0.6635, allocations: 354.4 kB / 0.874 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.6635, allocations: 12.03 kB / 0.874 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.6639, allocations: 19.97 kB / 0.8741 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.6641, allocations: 167.1 kB / 0.8742 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.6641, allocations: 3.953 kB / 0.8742 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.6641, allocations: 3.938 kB / 0.8742 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.6642, allocations: 49.67 kB / 0.8743 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6643, allocations: 4 kB / 0.8743 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.6643, allocations: 4 kB / 0.8743 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6643, allocations: 0 / 0.8743 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.6644, allocations: 23.98 kB / 0.8743 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.6649, allocations: 272.8 kB / 0.8746 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.665, allocations: 34.52 kB / 0.8746 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.665, allocations: 28.91 kB / 0.8746 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.6651, allocations: 0 / 0.8746 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.6651, allocations: 30.56 kB / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.6651, allocations: 0 / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001894/0.6653, allocations: 53.69 kB / 0.8747 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.6653, allocations: 51.41 kB / 0.8748 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.6654, allocations: 96.97 kB / 0.8748 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.6655, allocations: 29.73 kB / 0.8749 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.6655, allocations: 88.14 kB / 0.875 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.6656, allocations: 7.844 kB / 0.875 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/0.6656, allocations: 0 / 0.875 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6657, allocations: 314.8 kB / 0.8753 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.6657, allocations: 8 kB / 0.8753 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.6658, allocations: 15.98 kB / 0.8753 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.6658, allocations: 8 kB / 0.8753 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6658, allocations: 4.062 kB / 0.8753 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/0.6659, allocations: 57.67 kB / 0.8754 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.6659, allocations: 7.938 kB / 0.8754 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6659, allocations: 4 kB / 0.8754 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.666, allocations: 0 / 0.8754 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.6661, allocations: 11.98 kB / 0.8754 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.6661, allocations: 0 / 0.8754 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.6662, allocations: 16.02 kB / 0.8754 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.6662, allocations: 4 kB / 0.8754 GB, free: 10.57 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 () * 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 8.412e-05/0.6663, allocations: 112.9 kB / 0.8755 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.6664, allocations: 0 / 0.8755 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.6664, allocations: 15.05 kB / 0.8755 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.6664, allocations: 0 / 0.8755 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6664, allocations: 0 / 0.8755 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6664, allocations: 4 kB / 0.8755 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.6666, allocations: 177.5 kB / 0.8757 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6667, allocations: 0 / 0.8757 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.6668, allocations: 15.98 kB / 0.8757 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6668, allocations: 0 / 0.8757 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.6668, allocations: 3.984 kB / 0.8757 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6668, allocations: 8 kB / 0.8757 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6668, allocations: 0 / 0.8757 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.667, allocations: 151.5 kB / 0.8759 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.6671, allocations: 81.09 kB / 0.8759 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.6671, allocations: 0 / 0.8759 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6672, allocations: 11.98 kB / 0.876 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.6673, allocations: 3.938 kB / 0.876 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.6673, allocations: 4 kB / 0.876 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.6673, allocations: 87.31 kB / 0.876 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6673, allocations: 0 / 0.876 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002376/0.6676, allocations: 19.98 kB / 0.8761 GB, free: 9.805 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 () * 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.0001803/0.6678, allocations: 107.2 kB / 0.8762 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.6679, allocations: 23.98 kB / 0.8762 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6679, allocations: 0 / 0.8762 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.6679, allocations: 15.98 kB / 0.8762 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.6681, allocations: 16.08 kB / 0.8762 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.6685, allocations: 80.78 kB / 0.8763 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.6687, allocations: 0.677 MB / 0.877 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.929e-05/0.6688, allocations: 11.94 kB / 0.877 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.6689, allocations: 7.438 kB / 0.877 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6689, allocations: 4 kB / 0.877 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of Templates: time 0.002784/0.6717, allocations: 0.7068 MB / 0.8777 GB, free: 8.105 MB / 0.5417 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)