Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5363/0.5363, allocations: 94.78 MB / 102.3 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001492/0.001492, allocations: 168.4 kB / 125.6 MB, free: 11.9 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.505/1.505, allocations: 170.6 MB / 319.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00159/0.00159, allocations: 112.7 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.99e-05, allocations: 0 / 449.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1726, allocations: 61.53 MB / 0.4987 GB, free: 4.145 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4932/0.6658, allocations: 95.1 MB / 0.5915 GB, free: 6.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.6662, allocations: 76.55 kB / 0.5916 GB, free: 6.797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009071/0.6753, allocations: 2.557 MB / 0.5941 GB, free: 4.301 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6754, allocations: 0.625 kB / 0.5941 GB, free: 4.301 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.6754, allocations: 2.219 kB / 0.5941 GB, free: 4.301 MB / 410.7 MB 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.0004785/0.6759, allocations: 378.3 kB / 0.5945 GB, free: 3.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.6759, allocations: 8.031 kB / 0.5945 GB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.676, allocations: 7.688 kB / 0.5945 GB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.6761, allocations: 165.5 kB / 0.5946 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.6762, allocations: 0 / 0.5946 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.6762, allocations: 7.125 kB / 0.5946 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.635e-05/0.6763, allocations: 8 kB / 0.5947 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.111e-05/0.6764, allocations: 33.69 kB / 0.5947 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6764, allocations: 0.5 kB / 0.5947 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.6764, allocations: 0 / 0.5947 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.6764, allocations: 0.6562 kB / 0.5947 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.6768, allocations: 227.6 kB / 0.5949 GB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.727e-05/0.6769, allocations: 30.52 kB / 0.5949 GB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.6769, allocations: 12.88 kB / 0.5949 GB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.6769, allocations: 0 / 0.5949 GB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.677, allocations: 42.41 kB / 0.595 GB, free: 3.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.677, allocations: 5.781 kB / 0.595 GB, free: 3.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001893/0.6772, allocations: 35.25 kB / 0.595 GB, free: 3.223 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.6772, allocations: 55.41 kB / 0.5951 GB, free: 3.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.6773, allocations: 89 kB / 0.5952 GB, free: 3.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.6773, allocations: 25.7 kB / 0.5952 GB, free: 3.031 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.6774, allocations: 85.39 kB / 0.5953 GB, free: 2.945 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.6774, allocations: 16.45 kB / 0.5953 GB, free: 2.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.6775, allocations: 0 / 0.5953 GB, free: 2.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6776, allocations: 318.8 kB / 0.5956 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.6777, allocations: 6.734 kB / 0.5956 GB, free: 2.605 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.6777, allocations: 8 kB / 0.5956 GB, free: 2.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.822e-05/0.6777, allocations: 0 / 0.5956 GB, free: 2.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6777, allocations: 0 / 0.5956 GB, free: 2.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.198e-05/0.6778, allocations: 41.7 kB / 0.5956 GB, free: 2.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6778, allocations: 11.94 kB / 0.5957 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6778, allocations: 0 / 0.5957 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.6779, allocations: 0 / 0.5957 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.678, allocations: 12.09 kB / 0.5957 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.678, allocations: 4 kB / 0.5957 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.6781, allocations: 9.109 kB / 0.5957 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.6781, allocations: 0 / 0.5957 GB, free: 2.516 MB / 410.7 MB 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 9.824e-05/0.6782, allocations: 105 kB / 0.5958 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.6782, allocations: 3.906 kB / 0.5958 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.6783, allocations: 61.28 kB / 0.5958 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6784, allocations: 0 / 0.5958 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.6784, allocations: 2.438 kB / 0.5958 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6784, allocations: 0.5625 kB / 0.5958 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.6785, allocations: 138.2 kB / 0.596 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6786, allocations: 0 / 0.596 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.6786, allocations: 13.36 kB / 0.596 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6786, allocations: 0 / 0.596 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.6787, allocations: 3.984 kB / 0.596 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6787, allocations: 5.625 kB / 0.596 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6787, allocations: 3.953 kB / 0.596 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.6788, allocations: 140.2 kB / 0.5961 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.6789, allocations: 77.11 kB / 0.5962 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.6789, allocations: 3.984 kB / 0.5962 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.679, allocations: 8 kB / 0.5962 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.6791, allocations: 4.031 kB / 0.5962 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.6791, allocations: 7.938 kB / 0.5962 GB, free: 1.871 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.814e-05/0.6791, allocations: 81.47 kB / 0.5963 GB, free: 1.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6791, allocations: 0 / 0.5963 GB, free: 1.793 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.6794, allocations: 31.94 kB / 0.5963 GB, free: 1.762 MB / 410.7 MB 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.0003046/0.6797, allocations: 131.2 kB / 0.5965 GB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.6798, allocations: 11.98 kB / 0.5965 GB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6798, allocations: 64 / 0.5965 GB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.493e-05/0.6799, allocations: 15.94 kB / 0.5965 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.6801, allocations: 6.781 kB / 0.5965 GB, free: 1.594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.6804, allocations: 58.03 kB / 0.5965 GB, free: 1.516 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.6808, allocations: 0.6768 MB / 0.5972 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.491e-05/0.6808, allocations: 7.703 kB / 0.5972 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.6809, allocations: 7.438 kB / 0.5972 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6809, allocations: 3.938 kB / 0.5972 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of Templates: time 0.003238/0.6841, allocations: 0.7118 MB / 0.5979 GB, free: 128 kB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)