Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 293 MB / 309 MB, free: 4.824 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.001074/0.001074, allocations: 182.7 kB / 378.7 MB, free: 1.02 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.58/1.58, allocations: 205.4 MB / 0.6383 GB, free: 8.215 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.0006895/0.0006893, allocations: 94.42 kB / 0.7527 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 12 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2637, allocations: 116.4 MB / 0.9905 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7008/0.9645, allocations: 140.3 MB / 1.127 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.9648, allocations: 89.69 kB / 1.128 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007445/0.9723, allocations: 2.857 MB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9723, allocations: 4 kB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.9723, allocations: 0 / 1.13 GB, free: 31.63 MB / 0.7292 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.0002723/0.9726, allocations: 355.5 kB / 1.131 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.9726, allocations: 8.031 kB / 1.131 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.973, allocations: 24.45 kB / 1.131 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/0.9731, allocations: 171.9 kB / 1.131 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.9731, allocations: 10.31 kB / 1.131 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.9731, allocations: 4.375 kB / 1.131 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.9733, allocations: 56.19 kB / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.9733, allocations: 192 / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9733, allocations: 3.938 kB / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.9733, allocations: 0 / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.9734, allocations: 26.89 kB / 1.131 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.9736, allocations: 173.4 kB / 1.131 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.9739, allocations: 65.77 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.974, allocations: 28.28 kB / 1.131 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.974, allocations: 4 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.974, allocations: 34.12 kB / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.974, allocations: 0 / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.003059/0.9771, allocations: 0.5783 MB / 1.132 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.9771, allocations: 59.41 kB / 1.132 GB, free: 30 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.347e-05/0.9772, allocations: 97.8 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.9772, allocations: 25.7 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.457e-05/0.9772, allocations: 84.12 kB / 1.132 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.9772, allocations: 23.12 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.9772, allocations: 4 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.9773, allocations: 315.6 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.9774, allocations: 42.28 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.9775, allocations: 34.94 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.9778, allocations: 88.38 kB / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.9778, allocations: 4 kB / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002825/0.9781, allocations: 118.3 kB / 1.133 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.9781, allocations: 7.938 kB / 1.133 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.9781, allocations: 0 / 1.133 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.9781, allocations: 0.6562 kB / 1.133 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.9783, allocations: 30.16 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.9783, allocations: 4.781 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.9785, allocations: 4 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.9785, allocations: 7.562 kB / 1.133 GB, free: 29.16 MB / 0.7292 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 5.414e-05/0.9785, allocations: 113.8 kB / 1.133 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.9786, allocations: 12.3 kB / 1.133 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.9786, allocations: 12.62 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9786, allocations: 5.641 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.9787, allocations: 0.9375 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.9787, allocations: 0 / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.9788, allocations: 191.9 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9788, allocations: 3.469 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.979, allocations: 19.53 kB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.979, allocations: 7.938 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.979, allocations: 7.469 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.979, allocations: 0 / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.979, allocations: 0.5 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.9795, allocations: 196.7 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.9795, allocations: 85.41 kB / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.9795, allocations: 0 / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.9797, allocations: 15.41 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.9797, allocations: 4 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.9798, allocations: 8.25 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.629e-05/0.9798, allocations: 79.34 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9798, allocations: 4 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002255/0.98, allocations: 28 kB / 1.134 GB, free: 28.36 MB / 0.7292 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.0001822/0.9802, allocations: 138.4 kB / 1.134 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.9805, allocations: 92.42 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9805, allocations: 0.9375 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.9806, allocations: 46.02 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.9808, allocations: 8.703 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.9813, allocations: 180.8 kB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.169e-05/0.9815, allocations: 0.6766 MB / 1.135 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000237/0.9817, allocations: 28.55 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.9818, allocations: 22.23 kB / 1.135 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.9818, allocations: 0 / 1.135 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.00341/0.9852, allocations: 1.469 MB / 1.136 GB, free: 26.41 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)