Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.61/1.61, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.0009947/0.0009948, allocations: 182.2 kB / 371.2 MB, free: 10.81 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.696/1.696, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.001007/0.001007, allocations: 98.22 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004766, allocations: 11.59 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2179, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00121/0.2192, allocations: 1.009 MB / 0.9797 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007667/0.22, allocations: 0.5317 MB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.22, allocations: 0 / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.22, allocations: 7.938 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.2201, allocations: 3.984 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.2205, allocations: 83.64 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.903e-05/0.2205, allocations: 15.88 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.2206, allocations: 7.984 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.2206, allocations: 4 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.2207, allocations: 7.922 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.2207, allocations: 4 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.221, allocations: 143.7 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.221, allocations: 4 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.221, allocations: 25.7 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.2212, allocations: 68.14 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2212, allocations: 0 / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2212, allocations: 0 / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.2212, allocations: 0 / 0.9805 GB, free: 26.25 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002953/0.2215, allocations: 335.5 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2215, allocations: 15.97 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/0.2219, allocations: 36.8 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.222, allocations: 160.4 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2221, allocations: 384 / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.2221, allocations: 384 / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2222, allocations: 50.17 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2223, allocations: 4.125 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2223, allocations: 15.92 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.2223, allocations: 0 / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2224, allocations: 19.98 kB / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.2225, allocations: 153.7 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.2227, allocations: 46.55 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.2227, allocations: 16.91 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2228, allocations: 3.984 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.2228, allocations: 34.56 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.2228, allocations: 3.938 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002671/0.2231, allocations: 77.59 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2231, allocations: 51.41 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/0.2232, allocations: 93.86 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.2232, allocations: 25.7 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.2232, allocations: 84.12 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2232, allocations: 15.84 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.2232, allocations: 0 / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.2233, allocations: 315 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.2234, allocations: 7.984 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.051e-05/0.2234, allocations: 15.98 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2235, allocations: 28.78 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2235, allocations: 0 / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001479/0.2237, allocations: 65.73 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.2237, allocations: 6.5 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2238, allocations: 3.938 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2238, allocations: 0 / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2239, allocations: 11.98 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2239, allocations: 0 / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.224, allocations: 0 / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.224, allocations: 8.016 kB / 0.9822 GB, free: 24.36 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 5.037e-05/0.224, allocations: 113.8 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.224, allocations: 3.906 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.2241, allocations: 11.06 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2241, allocations: 8.125 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2241, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2241, allocations: 7.922 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.234e-05/0.2242, allocations: 157.6 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2242, allocations: 4 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.2243, allocations: 11.98 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2243, allocations: 0 / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2243, allocations: 3.938 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2243, allocations: 7.984 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2243, allocations: 0 / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.2245, allocations: 81.11 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.2245, allocations: 85.09 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2246, allocations: 3.938 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.2246, allocations: 0 / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.2246, allocations: 4 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.2246, allocations: 0 / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.776e-05/0.2247, allocations: 79.27 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2247, allocations: 4 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001854/0.2249, allocations: 20.03 kB / 0.9828 GB, free: 23.67 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 (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 Backend phase and start with SimCode phase: time 0.0001459/0.225, allocations: 111.2 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.2252, allocations: 27.97 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2252, allocations: 0 / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.2253, allocations: 20.05 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.2255, allocations: 4 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.2258, allocations: 124.6 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.815e-05/0.2259, allocations: 0.6808 MB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.864e-05/0.226, allocations: 19.98 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.226, allocations: 7.438 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of SimCode: time 1.91e-07/0.226, allocations: 0 / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.002474/0.2285, allocations: 0.6947 MB / 0.9844 GB, free: 21.94 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)