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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 102.6 kB / 16.27 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 186.6 kB / 17.19 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.925/1.925, allocations: 292.3 MB / 0.5495 GB, free: 17.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 71.19 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2779, allocations: 114.5 MB / 0.784 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002566/0.2805, allocations: 1.282 MB / 0.7853 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.2815, allocations: 0.5741 MB / 0.7858 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.2816, allocations: 4 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.2816, allocations: 0 / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.454e-05/0.2817, allocations: 7.922 kB / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.2821, allocations: 91.58 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.2822, allocations: 19.86 kB / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.2822, allocations: 4 kB / 0.786 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.2823, allocations: 8 kB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.2823, allocations: 11.94 kB / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2823, allocations: 0 / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.2826, allocations: 139.8 kB / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.2826, allocations: 4 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.2827, allocations: 11.92 kB / 0.7861 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.2829, allocations: 92.06 kB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2829, allocations: 0 / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2829, allocations: 0 / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2829, allocations: 3.938 kB / 0.7862 GB, free: 1.66 MB / 0.6544 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.0004442/0.2834, allocations: 347.5 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2834, allocations: 8.031 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.2839, allocations: 32.8 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.284, allocations: 164.4 kB / 0.7867 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.284, allocations: 4.375 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.284, allocations: 384 / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.2842, allocations: 46.23 kB / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2842, allocations: 4.172 kB / 0.7868 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2842, allocations: 3.938 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2843, allocations: 0 / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.2844, allocations: 23.92 kB / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.2846, allocations: 157.7 kB / 0.787 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.2847, allocations: 50.58 kB / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.2848, allocations: 12.91 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2849, allocations: 8 kB / 0.787 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2849, allocations: 30.56 kB / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2849, allocations: 4 kB / 0.7871 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003203/0.2852, allocations: 77.53 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.2853, allocations: 51.41 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.2853, allocations: 93.86 kB / 0.7873 GB, free: 380 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2854, allocations: 25.7 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.2854, allocations: 84.12 kB / 0.7874 GB, free: 260 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.2854, allocations: 15.97 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.2855, allocations: 17.72 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4321/0.7176, allocations: 313.8 kB / 0.7877 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.7178, allocations: 12.34 kB / 0.7877 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/0.7179, allocations: 8.391 kB / 0.7877 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.7181, allocations: 29.64 kB / 0.7878 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7181, allocations: 1.031 kB / 0.7878 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002307/0.7183, allocations: 65.2 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.7183, allocations: 5.562 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7184, allocations: 3.75 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.7184, allocations: 2.781 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.7185, allocations: 7.531 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.7185, allocations: 1.812 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.7186, allocations: 6.844 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.7186, allocations: 3.234 kB / 0.7879 GB, free: 48.51 MB / 0.6544 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 6.841e-05/0.7187, allocations: 111.7 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.7187, allocations: 5.812 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.7188, allocations: 9.906 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7188, allocations: 1.172 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7188, allocations: 6.188 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7188, allocations: 3.734 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.564e-05/0.7189, allocations: 155.2 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7189, allocations: 0.625 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.719, allocations: 8.969 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.719, allocations: 2.938 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.719, allocations: 0 / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.719, allocations: 0 / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.719, allocations: 7.281 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.7192, allocations: 83.38 kB / 0.7882 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.7193, allocations: 82.95 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.7193, allocations: 0.8438 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.7194, allocations: 9.25 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.7194, allocations: 4.469 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.7194, allocations: 8.641 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.7195, allocations: 77.97 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.212e-06/0.7195, allocations: 0 / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002232/0.7197, allocations: 19.58 kB / 0.7884 GB, free: 47.96 MB / 0.6544 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.0001843/0.7199, allocations: 112.3 kB / 0.7885 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.7201, allocations: 33.41 kB / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7201, allocations: 0 / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.7202, allocations: 17.64 kB / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.7205, allocations: 8.859 kB / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.7208, allocations: 136.5 kB / 0.7887 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.721, allocations: 0.6757 MB / 0.7894 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.721, allocations: 14.44 kB / 0.7894 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.721, allocations: 0 / 0.7894 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.002271/0.7233, allocations: 0.7788 MB / 0.7902 GB, free: 47.05 MB / 0.6544 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)