Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.4 MB / 303.4 MB, free: 8.02 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.00141/0.00141, allocations: 187.2 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001384/0.001385, allocations: 102.9 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 19.45 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.253, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001608/0.2547, allocations: 1.117 MB / 0.9807 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.2556, allocations: 0.5676 MB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.2557, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.2557, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.2558, allocations: 11.94 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.2563, allocations: 79.69 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.2564, allocations: 27.92 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.2565, allocations: 0 / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.365e-05/0.2566, allocations: 11.92 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.2566, allocations: 8 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.2566, allocations: 0 / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.257, allocations: 147.7 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.257, allocations: 7.984 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.257, allocations: 25.7 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.2572, allocations: 68.14 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2572, allocations: 3.938 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2572, allocations: 0 / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2572, allocations: 0 / 0.9816 GB, free: 25.57 MB / 0.6198 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.0004623/0.2577, allocations: 368.8 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2578, allocations: 15.97 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.2583, allocations: 23.97 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2585, allocations: 167 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2585, allocations: 4 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2585, allocations: 0 / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.2588, allocations: 77.64 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2588, allocations: 0 / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2589, allocations: 0 / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2589, allocations: 7.938 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.2592, allocations: 63.94 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.2596, allocations: 280.8 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.2598, allocations: 58.55 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.26, allocations: 36.89 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.26, allocations: 3.984 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.26, allocations: 42.55 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.26, allocations: 0 / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005056/0.2606, allocations: 129.5 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2606, allocations: 63.36 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.236e-05/0.2607, allocations: 93.86 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2607, allocations: 29.69 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.2607, allocations: 84.14 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.2607, allocations: 7.906 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-06/0.2608, allocations: 4.031 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.992e-05/0.2608, allocations: 310.8 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.2609, allocations: 27.97 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.2611, allocations: 35.97 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.2612, allocations: 31.97 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2612, allocations: 0 / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002825/0.2615, allocations: 101.6 kB / 0.9836 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2615, allocations: 9.406 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2615, allocations: 0 / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2615, allocations: 0 / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.2617, allocations: 19.97 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2617, allocations: 4.031 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.2618, allocations: 19.88 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.2618, allocations: 4 kB / 0.9836 GB, free: 23.28 MB / 0.6198 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 6.271e-05/0.2619, allocations: 105.8 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.2619, allocations: 4 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.262, allocations: 11.12 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.262, allocations: 0 / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.262, allocations: 0 / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.262, allocations: 0 / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2621, allocations: 169.6 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2622, allocations: 0 / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2623, allocations: 11.98 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2623, allocations: 4 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2623, allocations: 4 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2623, allocations: 7.938 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2623, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.2626, allocations: 203.3 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.2627, allocations: 77.11 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2627, allocations: 0 / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2628, allocations: 15.98 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.2629, allocations: 3.984 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2629, allocations: 4 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.146e-05/0.2629, allocations: 79.28 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2629, allocations: 4.031 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002289/0.2631, allocations: 8 kB / 0.9843 GB, free: 22.48 MB / 0.6198 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.0001685/0.2633, allocations: 115.2 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.2636, allocations: 75.88 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2636, allocations: 0 / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2638, allocations: 35.97 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.264, allocations: 8.062 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.2645, allocations: 148.5 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.2646, allocations: 0.677 MB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.802e-05/0.2647, allocations: 12 kB / 0.9854 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.2647, allocations: 19.36 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2647, allocations: 0 / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.002895/0.2676, allocations: 0.6903 MB / 0.986 GB, free: 20.65 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)