Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.764/1.764, allocations: 287.5 MB / 302.6 MB, free: 8.277 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.001151/0.001151, allocations: 186.3 kB / 371.2 MB, free: 10.84 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.681/1.681, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008874/0.0008872, allocations: 84.86 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003816, allocations: 11.16 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.205, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001758/0.2068, allocations: 1.129 MB / 0.9798 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004606/0.2073, allocations: 184.5 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.2074, allocations: 0 / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.2074, allocations: 3.984 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.2075, allocations: 7.922 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.2077, allocations: 19.92 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.2077, allocations: 23.92 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2079, allocations: 11.92 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.2079, allocations: 4 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.208, allocations: 15.92 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.208, allocations: 0 / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.269e-05/0.2081, allocations: 27.98 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.2081, allocations: 3.984 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.2082, allocations: 25.7 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.2083, allocations: 32.19 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2083, allocations: 0 / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2083, allocations: 3.938 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2083, allocations: 0 / 0.9801 GB, free: 26.72 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.0004125/0.2087, allocations: 335.5 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2088, allocations: 12.02 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.2089, allocations: 8.938 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.209, allocations: 176.2 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.209, allocations: 384 / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.2091, allocations: 4.375 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.2093, allocations: 54.23 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2093, allocations: 192 / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2093, allocations: 3.938 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.2094, allocations: 0 / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.2095, allocations: 47.95 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.2098, allocations: 240.9 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.21, allocations: 54.47 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.21, allocations: 24.91 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2101, allocations: 0 / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.2101, allocations: 34.56 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2101, allocations: 8 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003413/0.2104, allocations: 97.48 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.2105, allocations: 55.53 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.951e-05/0.2105, allocations: 105.8 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.2105, allocations: 25.7 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.2106, allocations: 92.08 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2106, allocations: 3.906 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.2106, allocations: 0 / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.297e-05/0.2107, allocations: 310.8 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.2107, allocations: 31.97 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.2108, allocations: 15.98 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.211, allocations: 48.89 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.211, allocations: 0 / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001687/0.2111, allocations: 85.53 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2112, allocations: 4 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2112, allocations: 4.031 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2112, allocations: 0 / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.2113, allocations: 15.98 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2113, allocations: 0 / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.2114, allocations: 15.98 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2114, allocations: 0 / 0.982 GB, free: 24.62 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 4.773e-05/0.2114, allocations: 109.8 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2114, allocations: 8 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.2117, allocations: 80.78 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2117, allocations: 3.938 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2117, allocations: 7.922 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2117, allocations: 4 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.2118, allocations: 161.6 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2118, allocations: 0 / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.2119, allocations: 11.98 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2119, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2119, allocations: 8 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2119, allocations: 0 / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2119, allocations: 0 / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2121, allocations: 183.4 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.2121, allocations: 81.09 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.2122, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.2122, allocations: 12 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.2123, allocations: 3.984 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.2123, allocations: 0 / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.979e-05/0.2123, allocations: 79.28 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2123, allocations: 7.875 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002327/0.2126, allocations: 8 kB / 0.9827 GB, free: 23.77 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 (3): * Single equations (assignments): 3 * 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 9.59e-05/0.2127, allocations: 95.25 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.2129, allocations: 51.95 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2129, allocations: 0 / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2131, allocations: 27.98 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.2135, allocations: 11.98 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.2138, allocations: 128.6 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.2139, allocations: 0.677 MB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.002e-05/0.214, allocations: 4 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.214, allocations: 7.438 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of SimCode: time 3.5e-07/0.214, allocations: 4 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.00286/0.2169, allocations: 414.1 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)