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.521/1.521, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001147/0.001147, allocations: 190.2 kB / 376.9 MB, free: 1.77 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.327/1.327, allocations: 205.1 MB / 0.6354 GB, free: 9.738 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.001038/0.001038, allocations: 103.6 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2749, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003447/0.2784, allocations: 1.343 MB / 0.9835 GB, free: 9 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2795, allocations: 0.6014 MB / 0.9841 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.2795, allocations: 0 / 0.9841 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.2796, allocations: 0 / 0.9841 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.2797, allocations: 7.922 kB / 0.9841 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.2801, allocations: 79.64 kB / 0.9842 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.848e-05/0.2802, allocations: 19.88 kB / 0.9842 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.2802, allocations: 0 / 0.9842 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.2803, allocations: 11.94 kB / 0.9842 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.2803, allocations: 15.97 kB / 0.9842 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2803, allocations: 0 / 0.9842 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.2807, allocations: 147.7 kB / 0.9844 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.2807, allocations: 0 / 0.9844 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.2807, allocations: 7.938 kB / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2809, allocations: 96.05 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2809, allocations: 4 kB / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2809, allocations: 0 / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.281, allocations: 0 / 0.9845 GB, free: 8.012 MB / 0.7136 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.000471/0.2814, allocations: 347.4 kB / 0.9848 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2815, allocations: 8.031 kB / 0.9848 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.282, allocations: 28.91 kB / 0.9849 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2821, allocations: 164.4 kB / 0.985 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2821, allocations: 384 / 0.985 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2821, allocations: 384 / 0.985 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.2823, allocations: 58.16 kB / 0.9851 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.2823, allocations: 192 / 0.9851 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2824, allocations: 3.938 kB / 0.9851 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2824, allocations: 0 / 0.9851 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.2825, allocations: 23.97 kB / 0.9851 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.2827, allocations: 153.7 kB / 0.9852 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.2829, allocations: 46.58 kB / 0.9853 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.283, allocations: 16.92 kB / 0.9853 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.283, allocations: 3.938 kB / 0.9853 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.283, allocations: 42.48 kB / 0.9853 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.283, allocations: 0 / 0.9853 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003129/0.2833, allocations: 77.52 kB / 0.9854 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.2834, allocations: 55.39 kB / 0.9855 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.2835, allocations: 93.86 kB / 0.9856 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.2835, allocations: 25.7 kB / 0.9856 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.2835, allocations: 84.14 kB / 0.9857 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.2836, allocations: 3.938 kB / 0.9857 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.2836, allocations: 21.83 kB / 0.9857 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.2837, allocations: 314.8 kB / 0.986 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.2838, allocations: 15.98 kB / 0.986 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.2838, allocations: 19.92 kB / 0.986 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.284, allocations: 28.91 kB / 0.9861 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.284, allocations: 0 / 0.9861 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000167/0.2842, allocations: 57.58 kB / 0.9861 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2842, allocations: 8 kB / 0.9861 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2842, allocations: 3.938 kB / 0.9861 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2842, allocations: 0 / 0.9861 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2843, allocations: 7.984 kB / 0.9861 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2843, allocations: 0 / 0.9861 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.2844, allocations: 12.03 kB / 0.9861 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2844, allocations: 3.984 kB / 0.9861 GB, free: 6.09 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.399e-05/0.2845, allocations: 109.8 kB / 0.9862 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.2845, allocations: 4 kB / 0.9863 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.2846, allocations: 7.062 kB / 0.9863 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2846, allocations: 0 / 0.9863 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2846, allocations: 4 kB / 0.9863 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2846, allocations: 0 / 0.9863 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.2847, allocations: 153.7 kB / 0.9864 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2847, allocations: 3.984 kB / 0.9864 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.2848, allocations: 8 kB / 0.9864 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2848, allocations: 0 / 0.9864 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2848, allocations: 7.922 kB / 0.9864 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2848, allocations: 0 / 0.9864 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2848, allocations: 0 / 0.9864 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.2853, allocations: 0.6476 MB / 0.9871 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.2854, allocations: 81.02 kB / 0.9871 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.2854, allocations: 3.984 kB / 0.9871 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.2855, allocations: 11.92 kB / 0.9872 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.2855, allocations: 4.031 kB / 0.9872 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2855, allocations: 0 / 0.9872 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.2856, allocations: 83.28 kB / 0.9872 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2856, allocations: 0 / 0.9872 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003203/0.2859, allocations: 16 kB / 0.9873 GB, free: 4.82 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002046/0.2861, allocations: 111.2 kB / 0.9874 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.2863, allocations: 35.91 kB / 0.9874 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.2863, allocations: 0 / 0.9874 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.2864, allocations: 15.98 kB / 0.9874 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2867, allocations: 11.92 kB / 0.9874 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.2871, allocations: 211.3 kB / 0.9876 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.2874, allocations: 0.6731 MB / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.298e-05/0.2875, allocations: 15.94 kB / 0.9883 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.2876, allocations: 11.44 kB / 0.9883 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.2876, allocations: 0 / 0.9883 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of Templates: time 0.003002/0.2906, allocations: 0.7397 MB / 0.989 GB, free: 2.934 MB / 0.7136 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)