Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.479/2.479, allocations: 287.5 MB / 303.2 MB, free: 8.152 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.001353/0.001352, allocations: 178 kB / 371.8 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 2.134/2.134, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0008655/0.0008654, allocations: 93.09 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004635, allocations: 11.91 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2059, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8858/1.092, allocations: 139.1 MB / 1.115 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/1.092, allocations: 99.45 kB / 1.115 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01305/1.105, allocations: 2.846 MB / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.265e-06/1.105, allocations: 0 / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.852e-06/1.105, allocations: 0 / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004317/1.106, allocations: 363.7 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.106, allocations: 7.812 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005409/1.106, allocations: 25.94 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.106, allocations: 171 kB / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/1.106, allocations: 7.969 kB / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/1.106, allocations: 384 / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/1.107, allocations: 57.27 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.107, allocations: 192 / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/1.107, allocations: 3.938 kB / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.107, allocations: 0 / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/1.107, allocations: 29.67 kB / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/1.107, allocations: 169.4 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/1.108, allocations: 72.33 kB / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/1.108, allocations: 26.48 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/1.108, allocations: 0 / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/1.108, allocations: 41.28 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/1.108, allocations: 0 / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.005897/1.114, allocations: 0.5816 MB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.114, allocations: 54.69 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/1.114, allocations: 105.3 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/1.114, allocations: 25.7 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/1.114, allocations: 83.98 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/1.114, allocations: 22.52 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/1.114, allocations: 0 / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.114, allocations: 314.7 kB / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/1.114, allocations: 35.23 kB / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/1.115, allocations: 46.56 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/1.115, allocations: 81.55 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/1.115, allocations: 0 / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005764/1.116, allocations: 124.9 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.116, allocations: 7.781 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.116, allocations: 0 / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.116, allocations: 3.938 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/1.116, allocations: 26.34 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.116, allocations: 0 / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/1.116, allocations: 8.75 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/1.117, allocations: 7 kB / 1.12 GB, free: 29.43 MB / 0.698 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 (7): * Single equations (assignments): 7 * 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.0001129/1.117, allocations: 120.2 kB / 1.121 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/1.117, allocations: 3.938 kB / 1.121 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.485e-05/1.117, allocations: 15.59 kB / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.117, allocations: 3.812 kB / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.117, allocations: 0 / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/1.117, allocations: 0 / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/1.117, allocations: 189.5 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.117, allocations: 4.062 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/1.117, allocations: 29.67 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.117, allocations: 3.938 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/1.117, allocations: 2.016 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.118, allocations: 4 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.118, allocations: 7.844 kB / 1.121 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00083/1.118, allocations: 193.5 kB / 1.121 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/1.118, allocations: 84.09 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/1.118, allocations: 0 / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/1.119, allocations: 11.3 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/1.119, allocations: 5.25 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/1.119, allocations: 5.953 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.834e-05/1.119, allocations: 76.53 kB / 1.121 GB, free: 28.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.119, allocations: 1.469 kB / 1.121 GB, free: 28.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003546/1.119, allocations: 40.36 kB / 1.121 GB, free: 28.83 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002792/1.12, allocations: 138.9 kB / 1.121 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00053/1.12, allocations: 92.47 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.12, allocations: 4 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/1.12, allocations: 44.52 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/1.121, allocations: 8.75 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/1.122, allocations: 184.2 kB / 1.122 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/1.122, allocations: 0.6796 MB / 1.122 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003993/1.122, allocations: 29.91 kB / 1.122 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/1.122, allocations: 20.06 kB / 1.122 GB, free: 27.87 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.122, allocations: 0 / 1.122 GB, free: 27.87 MB / 0.698 GB Notification: Performance of Templates: time 0.00521/1.128, allocations: 1.483 MB / 1.124 GB, free: 27.78 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)