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.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.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.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001207/0.001207, allocations: 187.3 kB / 377.1 MB, free: 1.527 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.763/1.763, allocations: 205.4 MB / 0.6367 GB, free: 8.543 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.0009216/0.0009212, allocations: 85.69 kB / 0.751 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 15.98 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2709, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7807/1.052, allocations: 140.2 MB / 1.125 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.052, allocations: 93.77 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008127/1.06, allocations: 2.84 MB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.423e-06/1.06, allocations: 0 / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.06, allocations: 4 kB / 1.128 GB, free: 32.53 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.0003172/1.061, allocations: 362.9 kB / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.061, allocations: 12.02 kB / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/1.061, allocations: 30.28 kB / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.025e-05/1.061, allocations: 163.5 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/1.061, allocations: 0 / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/1.061, allocations: 15.34 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/1.061, allocations: 53.52 kB / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-06/1.061, allocations: 0 / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.061, allocations: 3.469 kB / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-06/1.061, allocations: 4 kB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/1.061, allocations: 27.08 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/1.062, allocations: 165.8 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/1.062, allocations: 73.98 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/1.062, allocations: 4.938 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/1.062, allocations: 30.56 kB / 1.129 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/1.062, allocations: 0.9375 kB / 1.129 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.003513/1.065, allocations: 0.582 MB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/1.065, allocations: 59.34 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.909e-05/1.065, allocations: 88.56 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/1.065, allocations: 29.7 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/1.065, allocations: 84.14 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/1.066, allocations: 20.59 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/1.066, allocations: 0 / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/1.066, allocations: 322.3 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/1.066, allocations: 38.83 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/1.066, allocations: 42.3 kB / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/1.066, allocations: 43.72 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/1.066, allocations: 4 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002958/1.066, allocations: 119.8 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.066, allocations: 4.938 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/1.066, allocations: 0 / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/1.066, allocations: 1.031 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/1.067, allocations: 30.25 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/1.067, allocations: 4 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/1.067, allocations: 4 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/1.067, allocations: 7.281 kB / 1.131 GB, free: 30.13 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 6.592e-05/1.067, allocations: 113.8 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/1.067, allocations: 4 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/1.067, allocations: 16.42 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/1.067, allocations: 0 / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.067, allocations: 0.75 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/1.067, allocations: 4 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/1.067, allocations: 185.2 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.067, allocations: 0 / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/1.067, allocations: 26.58 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.067, allocations: 4 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/1.067, allocations: 7.188 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.067, allocations: 0 / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.067, allocations: 1.438 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/1.068, allocations: 196.2 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/1.068, allocations: 89.25 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/1.068, allocations: 0 / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/1.068, allocations: 12 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/1.068, allocations: 3.469 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/1.068, allocations: 7.469 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.916e-05/1.068, allocations: 79.34 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/1.068, allocations: 1.031 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002498/1.068, allocations: 36 kB / 1.131 GB, free: 29.35 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.0002011/1.069, allocations: 142.8 kB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002869/1.069, allocations: 92.52 kB / 1.131 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.069, allocations: 0 / 1.131 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/1.069, allocations: 49.78 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/1.069, allocations: 5.828 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/1.07, allocations: 178 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/1.07, allocations: 0.6802 MB / 1.132 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002343/1.07, allocations: 37.44 kB / 1.132 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/1.07, allocations: 14.77 kB / 1.132 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of SimCode: time 3.7e-07/1.07, allocations: 0 / 1.132 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of Templates: time 0.004024/1.074, allocations: 1.464 MB / 1.134 GB, free: 27.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)