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.001247/0.001247, allocations: 100.2 kB / 16.36 MB, free: 6.301 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.00135/0.00135, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.614/1.614, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.879/1.879, allocations: 292.3 MB / 0.5496 GB, free: 17.38 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.001456/0.001456, allocations: 71.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2679, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002779/0.2707, allocations: 1.414 MB / 0.7862 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2717, allocations: 0.5937 MB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.2718, allocations: 3.938 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.2718, allocations: 3.938 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.2719, allocations: 11.92 kB / 0.7868 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.2723, allocations: 95.56 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.2724, allocations: 19.92 kB / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.2725, allocations: 12 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.2725, allocations: 4 kB / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.2726, allocations: 19.91 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.2726, allocations: 0 / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.2729, allocations: 143.8 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.2729, allocations: 4 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.2729, allocations: 11.92 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.2731, allocations: 107.7 kB / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2731, allocations: 0 / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2731, allocations: 0 / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2732, allocations: 4 kB / 0.7872 GB, free: 0.7305 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.0004594/0.2736, allocations: 355.4 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2737, allocations: 8.031 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.2741, allocations: 32.89 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2742, allocations: 160.4 kB / 0.7877 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2742, allocations: 384 / 0.7877 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.2743, allocations: 4.375 kB / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.2745, allocations: 66.2 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2745, allocations: 8.125 kB / 0.7878 GB, free: 16 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2745, allocations: 3.938 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2746, allocations: 0 / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4344/0.7089, allocations: 47.41 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.7095, allocations: 281.5 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.7098, allocations: 60.17 kB / 0.7881 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.7099, allocations: 38.25 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.71, allocations: 2.219 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.71, allocations: 35.19 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/0.71, allocations: 0.7812 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0005099/0.7105, allocations: 111.3 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.7106, allocations: 53.03 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.859e-05/0.7106, allocations: 102.4 kB / 0.7885 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.7106, allocations: 25.7 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.7107, allocations: 88.92 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.7107, allocations: 2.188 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.7107, allocations: 15.8 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.958e-05/0.7108, allocations: 314.1 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.7109, allocations: 33.75 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.7111, allocations: 24.23 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.7113, allocations: 60.66 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7113, allocations: 0.5625 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002717/0.7116, allocations: 96.7 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7116, allocations: 5.656 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7116, allocations: 0.5 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.7116, allocations: 0 / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.7118, allocations: 16.16 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7118, allocations: 3.625 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.7119, allocations: 12.53 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.7119, allocations: 0 / 0.7891 GB, free: 47.88 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.13e-05/0.712, allocations: 112.4 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.712, allocations: 10.78 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.7121, allocations: 12.19 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7121, allocations: 0 / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.7121, allocations: 0 / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.7121, allocations: 0 / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.7122, allocations: 169.6 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.7122, allocations: 3.938 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.7124, allocations: 16.52 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7124, allocations: 0 / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.7124, allocations: 0 / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7124, allocations: 3.438 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7124, allocations: 0.7812 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.7127, allocations: 182.5 kB / 0.7896 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.7128, allocations: 85.08 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.7128, allocations: 3.25 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.7129, allocations: 10.14 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.713, allocations: 2.438 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.713, allocations: 3.922 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.713, allocations: 82.56 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.713, allocations: 1.375 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002573/0.7133, allocations: 14 kB / 0.7898 GB, free: 47.27 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.0001985/0.7135, allocations: 112.2 kB / 0.7899 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.7138, allocations: 59.92 kB / 0.79 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7138, allocations: 2.344 kB / 0.79 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.714, allocations: 35.03 kB / 0.79 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.7143, allocations: 11 kB / 0.79 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.7149, allocations: 151.3 kB / 0.7902 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.7151, allocations: 0.6749 MB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.7151, allocations: 13.2 kB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.7151, allocations: 1.219 kB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.002808/0.7179, allocations: 0.9022 MB / 0.7917 GB, free: 46.34 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)