Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009005/0.0009006, allocations: 179.2 kB / 327.3 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 0.5783 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 94.28 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 13.16 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2398, allocations: 106.3 MB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001668/0.2415, allocations: 1.126 MB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.2423, allocations: 0.5668 MB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.2423, allocations: 4 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.2424, allocations: 0 / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.2424, allocations: 0 / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.2428, allocations: 83.64 kB / 0.9026 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.11e-05/0.2428, allocations: 23.92 kB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.059e-05/0.2429, allocations: 4 kB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.329e-05/0.243, allocations: 11.92 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.243, allocations: 11.98 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.243, allocations: 7.938 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.2433, allocations: 143.7 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.2433, allocations: 3.984 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.2433, allocations: 25.7 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.2435, allocations: 68.14 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2435, allocations: 0 / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2435, allocations: 0 / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.2435, allocations: 4 kB / 0.9029 GB, free: 61.86 MB / 0.6042 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.0004218/0.2439, allocations: 363.3 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.244, allocations: 8.031 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.2444, allocations: 27.91 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.2445, allocations: 170.9 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2445, allocations: 0 / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2445, allocations: 4 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.2448, allocations: 77.62 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2448, allocations: 0 / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2448, allocations: 0 / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2448, allocations: 0 / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.2451, allocations: 63.94 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.2455, allocations: 284.6 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.2457, allocations: 66.53 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.2459, allocations: 36.89 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2459, allocations: 7.938 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.2459, allocations: 30.56 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.2459, allocations: 0 / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005043/0.2464, allocations: 133.5 kB / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2465, allocations: 55.41 kB / 0.9041 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/0.2465, allocations: 97.81 kB / 0.9042 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2466, allocations: 25.83 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.2466, allocations: 96.12 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.2466, allocations: 3.906 kB / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.2466, allocations: 0 / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.2467, allocations: 310.8 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2469, allocations: 31.97 kB / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.247, allocations: 35.97 kB / 0.9047 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.2471, allocations: 27.97 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2471, allocations: 0 / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002826/0.2474, allocations: 105.6 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2474, allocations: 4 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2474, allocations: 0 / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2475, allocations: 8.031 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.2476, allocations: 19.97 kB / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2476, allocations: 0 / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.163e-05/0.2477, allocations: 11.95 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.2477, allocations: 3.984 kB / 0.9049 GB, free: 59.57 MB / 0.6042 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 7.254e-05/0.2478, allocations: 113.8 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.2478, allocations: 7.906 kB / 0.905 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.2479, allocations: 7.312 kB / 0.905 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2479, allocations: 0 / 0.905 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2479, allocations: 7.922 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2479, allocations: 4 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2481, allocations: 161.6 kB / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2481, allocations: 3.984 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.2482, allocations: 19.98 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2482, allocations: 0 / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2482, allocations: 4 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2482, allocations: 0 / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2482, allocations: 3.938 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.2486, allocations: 199.4 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.2486, allocations: 77.11 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2486, allocations: 4 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.2488, allocations: 11.98 kB / 0.9055 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.2488, allocations: 8.031 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2488, allocations: 3.984 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.362e-05/0.2489, allocations: 79.28 kB / 0.9056 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2489, allocations: 0 / 0.9056 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002302/0.2491, allocations: 16 kB / 0.9056 GB, free: 58.76 MB / 0.6042 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.0001752/0.2493, allocations: 103.2 kB / 0.9057 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.2496, allocations: 75.94 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2496, allocations: 0 / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.2497, allocations: 39.97 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2501, allocations: 5.453 kB / 0.9058 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.2505, allocations: 170.2 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2506, allocations: 0.681 MB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.2507, allocations: 11.42 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2507, allocations: 0 / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.002398/0.2531, allocations: 0.8989 MB / 0.9075 GB, free: 56.72 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)