Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 99.28 kB / 16.27 MB, free: 6 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.002039/0.002039, allocations: 187 kB / 17.2 MB, free: 5.613 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.54/1.54, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.867/1.867, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001998/0.001998, allocations: 71.91 kB / 0.6721 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2771, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003098/0.2802, allocations: 1.407 MB / 0.7854 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2813, allocations: 0.5975 MB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.2814, allocations: 0 / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.2814, allocations: 3.938 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.2815, allocations: 0 / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.282, allocations: 99.5 kB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.2821, allocations: 23.92 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.2822, allocations: 11.98 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.2822, allocations: 11.94 kB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.2823, allocations: 11.98 kB / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.2823, allocations: 0 / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.2826, allocations: 143.8 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.2826, allocations: 3.984 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.2827, allocations: 11.94 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.2829, allocations: 108 kB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2829, allocations: 3.938 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2829, allocations: 0 / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2829, allocations: 0 / 0.7864 GB, free: 1.406 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00056/0.2835, allocations: 363.4 kB / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2836, allocations: 8.031 kB / 0.7867 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005137/0.2841, allocations: 32.88 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.2842, allocations: 164.4 kB / 0.7869 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2843, allocations: 384 / 0.7869 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.2843, allocations: 384 / 0.7869 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.2846, allocations: 74.14 kB / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2846, allocations: 192 / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.2846, allocations: 3.938 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2846, allocations: 0 / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.2849, allocations: 55.88 kB / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.2855, allocations: 280.8 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.2858, allocations: 62.47 kB / 0.7874 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.2859, allocations: 36.89 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.286, allocations: 0 / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.286, allocations: 34.56 kB / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.286, allocations: 0 / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0005698/0.2866, allocations: 113.5 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4479/0.7345, allocations: 51.41 kB / 0.7876 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.7349, allocations: 99.47 kB / 0.7877 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.7349, allocations: 25.7 kB / 0.7877 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.735, allocations: 86.81 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.735, allocations: 4.5 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.7351, allocations: 19.78 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.7352, allocations: 310.8 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.7355, allocations: 29.36 kB / 0.7882 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.7357, allocations: 27.31 kB / 0.7882 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.736, allocations: 56.56 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.736, allocations: 1.719 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004043/0.7364, allocations: 90.92 kB / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.7365, allocations: 5.156 kB / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7365, allocations: 0.5938 kB / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.376e-05/0.7365, allocations: 4.484 kB / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.7367, allocations: 11.67 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.7367, allocations: 7.938 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.7369, allocations: 5.938 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.7369, allocations: 6.719 kB / 0.7884 GB, free: 48.14 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 0.0001187/0.737, allocations: 111.2 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.7371, allocations: 5.406 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.7371, allocations: 5 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7372, allocations: 10.39 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7372, allocations: 2.344 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.7372, allocations: 0 / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.7374, allocations: 166.4 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.7374, allocations: 1.625 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.7376, allocations: 14.75 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7376, allocations: 2.594 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.7376, allocations: 3.781 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.7376, allocations: 3.938 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7376, allocations: 1.172 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.738, allocations: 185.9 kB / 0.7889 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.7381, allocations: 77.11 kB / 0.7889 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.7381, allocations: 8.375 kB / 0.7889 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.7383, allocations: 9.984 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.7383, allocations: 6.109 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7384, allocations: 3.5 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.7384, allocations: 84.62 kB / 0.789 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7384, allocations: 0 / 0.789 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003256/0.7388, allocations: 11.38 kB / 0.7891 GB, free: 47.53 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.0003147/0.7391, allocations: 110.3 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.7395, allocations: 59.97 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7395, allocations: 0.9062 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.7397, allocations: 29.83 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.7401, allocations: 8.75 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.7408, allocations: 152.8 kB / 0.7894 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.7411, allocations: 0.6767 MB / 0.7901 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.7411, allocations: 14.02 kB / 0.7901 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of SimCode: time 6.82e-07/0.7411, allocations: 0 / 0.7901 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.003202/0.7443, allocations: 0.8983 MB / 0.791 GB, free: 46.61 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)