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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.00133/0.00133, allocations: 185.1 kB / 371.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.2 MB / 0.6309 GB, free: 11.72 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009327/0.000933, allocations: 92.86 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.459e-05/4.46e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2988, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.35, allocations: 140.3 MB / 1.117 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004012/1.35, allocations: 78.48 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009925/1.36, allocations: 1.936 MB / 1.119 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.595e-06/1.36, allocations: 0 / 1.119 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.006e-05/1.36, allocations: 0 / 1.119 GB, free: 42.34 MB / 0.7448 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.0005598/1.361, allocations: 363.9 kB / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.629e-05/1.361, allocations: 8.031 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005698/1.361, allocations: 34.09 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/1.362, allocations: 159.1 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/1.362, allocations: 3.266 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/1.362, allocations: 4.75 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/1.362, allocations: 51.69 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/1.362, allocations: 0 / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/1.362, allocations: 0.5 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.362, allocations: 0.7969 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/1.362, allocations: 26.91 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/1.363, allocations: 275 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/1.363, allocations: 34.2 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.494e-05/1.363, allocations: 20.38 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/1.363, allocations: 0 / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/1.363, allocations: 34.94 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 5.33e-06/1.363, allocations: 4.844 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002856/1.363, allocations: 55.88 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/1.363, allocations: 54.92 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/1.363, allocations: 93.03 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/1.364, allocations: 30.45 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/1.364, allocations: 88.06 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/1.364, allocations: 4.531 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/1.364, allocations: 0 / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.768e-05/1.364, allocations: 318.2 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.678e-05/1.364, allocations: 11.94 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/1.364, allocations: 7.875 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/1.364, allocations: 15.09 kB / 1.12 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.364, allocations: 4.844 kB / 1.12 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001672/1.364, allocations: 52.47 kB / 1.12 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.364, allocations: 8 kB / 1.12 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.364, allocations: 3.422 kB / 1.12 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.364, allocations: 1.125 kB / 1.12 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/1.364, allocations: 15.56 kB / 1.12 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.364, allocations: 0.625 kB / 1.12 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/1.365, allocations: 20.33 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/1.365, allocations: 3.328 kB / 1.12 GB, free: 40.55 MB / 0.7448 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 () * 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 0.000101/1.365, allocations: 105.5 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/1.365, allocations: 7.906 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/1.365, allocations: 3.125 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.365, allocations: 0.5625 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.365, allocations: 4 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.365, allocations: 0 / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/1.365, allocations: 175.7 kB / 1.121 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.365, allocations: 0.625 kB / 1.121 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/1.365, allocations: 11.42 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.365, allocations: 7.703 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/1.366, allocations: 3.469 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.366, allocations: 0.5 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.366, allocations: 1.406 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/1.366, allocations: 161.5 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/1.366, allocations: 77.11 kB / 1.121 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/1.366, allocations: 0.625 kB / 1.121 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/1.366, allocations: 11.38 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/1.366, allocations: 4.562 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/1.366, allocations: 7.547 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.003e-05/1.366, allocations: 79.28 kB / 1.121 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.01e-07/1.366, allocations: 0 / 1.121 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004446/1.367, allocations: 19.94 kB / 1.121 GB, free: 39.85 MB / 0.7448 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 () * 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.0002826/1.367, allocations: 113.3 kB / 1.121 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001565/1.367, allocations: 32.34 kB / 1.121 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.367, allocations: 0 / 1.121 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.437e-05/1.367, allocations: 19.23 kB / 1.121 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/1.368, allocations: 4.609 kB / 1.121 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/1.368, allocations: 84.19 kB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/1.368, allocations: 0.6765 MB / 1.122 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001773/1.368, allocations: 12.89 kB / 1.122 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/1.368, allocations: 12.28 kB / 1.122 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.368, allocations: 4 kB / 1.122 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of Templates: time 0.004639/1.373, allocations: 0.6991 MB / 1.123 GB, free: 38.53 MB / 0.7448 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)