Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.621/1.621, allocations: 289.7 MB / 302.2 MB, free: 2.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 180 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.248/2.248, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008878/0.0008877, allocations: 93.36 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.252e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2909, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.348, allocations: 139.8 MB / 1.116 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/1.349, allocations: 79.28 kB / 1.116 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005436/1.354, allocations: 1.767 MB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.522e-06/1.354, allocations: 0.8438 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.354, allocations: 0 / 1.118 GB, free: 42.69 MB / 0.7448 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.0002802/1.354, allocations: 345.2 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/1.354, allocations: 8.031 kB / 1.119 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/1.355, allocations: 31.75 kB / 1.119 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/1.355, allocations: 161.9 kB / 1.119 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.355, allocations: 3.766 kB / 1.119 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/1.355, allocations: 3.938 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/1.355, allocations: 43.69 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.355, allocations: 0.5625 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/1.355, allocations: 0.6562 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/1.355, allocations: 3.281 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.422e-05/1.355, allocations: 15.94 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/1.355, allocations: 161.3 kB / 1.119 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.451e-05/1.356, allocations: 33.61 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/1.356, allocations: 20.59 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/1.356, allocations: 0.5156 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/1.356, allocations: 30.56 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/1.356, allocations: 4 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001695/1.356, allocations: 45.02 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/1.356, allocations: 55.41 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/1.356, allocations: 92.3 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.356, allocations: 33.64 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/1.356, allocations: 80.14 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/1.356, allocations: 6.906 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/1.356, allocations: 0 / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/1.356, allocations: 318.4 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/1.356, allocations: 7.516 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/1.356, allocations: 11.75 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/1.356, allocations: 8.75 kB / 1.12 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.356, allocations: 3.953 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.301e-05/1.356, allocations: 55.31 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.356, allocations: 4 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.356, allocations: 0 / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.356, allocations: 0 / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/1.356, allocations: 15.56 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.357, allocations: 0 / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/1.357, allocations: 4.078 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.357, allocations: 4.938 kB / 1.12 GB, free: 41.03 MB / 0.7448 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 6.021e-05/1.357, allocations: 101 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/1.357, allocations: 4.844 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/1.357, allocations: 12 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/1.357, allocations: 4 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.357, allocations: 0 / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.357, allocations: 0 / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/1.357, allocations: 156.1 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.357, allocations: 7.891 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/1.357, allocations: 8.078 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.357, allocations: 0 / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/1.357, allocations: 4 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.357, allocations: 0.6875 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/1.357, allocations: 2.953 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/1.357, allocations: 75.39 kB / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/1.357, allocations: 88.53 kB / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/1.357, allocations: 0 / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/1.357, allocations: 0 / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/1.357, allocations: 8.656 kB / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/1.357, allocations: 0.5156 kB / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.802e-05/1.357, allocations: 87.58 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.357, allocations: 0 / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001907/1.358, allocations: 16 kB / 1.12 GB, free: 40.42 MB / 0.7448 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.0002019/1.358, allocations: 116.2 kB / 1.12 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.137e-05/1.358, allocations: 19.28 kB / 1.12 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.358, allocations: 0.6562 kB / 1.12 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/1.358, allocations: 14.77 kB / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/1.358, allocations: 8.781 kB / 1.12 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/1.358, allocations: 60.91 kB / 1.12 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/1.359, allocations: 0.6795 MB / 1.121 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.034e-05/1.359, allocations: 10.72 kB / 1.121 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/1.359, allocations: 10.81 kB / 1.121 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of SimCode: time 2.81e-07/1.359, allocations: 4 kB / 1.121 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of Templates: time 0.003127/1.362, allocations: 0.705 MB / 1.122 GB, free: 39.11 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)