Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7491/0.7491, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009952/0.0009953, allocations: 173.6 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007347/0.0007348, allocations: 93.58 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001642/0.001642, allocations: 273.6 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.000457, allocations: 20 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3156, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4442, allocations: 108.4 MB / 0.8453 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.4445, allocations: 87.94 kB / 0.8454 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.008616/0.4531, allocations: 2.861 MB / 0.8482 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4532, allocations: 0 / 0.8482 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4532, allocations: 4 kB / 0.8482 GB, free: 14.85 MB / 0.5261 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.0003544/0.4535, allocations: 355.5 kB / 0.8486 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4536, allocations: 11.97 kB / 0.8486 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.4539, allocations: 32.84 kB / 0.8486 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.4541, allocations: 168.3 kB / 0.8488 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.4541, allocations: 384 / 0.8488 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.4541, allocations: 12.36 kB / 0.8488 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.4543, allocations: 54.22 kB / 0.8488 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4543, allocations: 192 / 0.8488 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4543, allocations: 7.938 kB / 0.8488 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4543, allocations: 0 / 0.8488 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.4544, allocations: 27.97 kB / 0.8489 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.4546, allocations: 161.6 kB / 0.849 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.4549, allocations: 70.52 kB / 0.8491 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.455, allocations: 28.92 kB / 0.8491 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.455, allocations: 0 / 0.8491 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.4551, allocations: 38.56 kB / 0.8491 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4551, allocations: 0 / 0.8491 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.00334/0.4584, allocations: 0.5837 MB / 0.8497 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.4585, allocations: 59.34 kB / 0.8498 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.4585, allocations: 97.84 kB / 0.8499 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.4586, allocations: 29.7 kB / 0.8499 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.4586, allocations: 80.14 kB / 0.85 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.4586, allocations: 19.66 kB / 0.85 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.4587, allocations: 4 kB / 0.85 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4588, allocations: 314.8 kB / 0.8503 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.4589, allocations: 40.09 kB / 0.8503 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.459, allocations: 39.97 kB / 0.8504 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.4593, allocations: 80.8 kB / 0.8504 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4593, allocations: 0 / 0.8504 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003286/0.4596, allocations: 125.8 kB / 0.8506 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4597, allocations: 15.88 kB / 0.8506 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4597, allocations: 80 / 0.8506 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4597, allocations: 0 / 0.8506 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.4599, allocations: 23.97 kB / 0.8506 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4599, allocations: 7.984 kB / 0.8506 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.4601, allocations: 4 kB / 0.8506 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.4601, allocations: 7.984 kB / 0.8506 GB, free: 12.12 MB / 0.5261 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 8.714e-05/0.4602, allocations: 113.8 kB / 0.8507 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.4602, allocations: 7.844 kB / 0.8507 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.999e-05/0.4603, allocations: 19.95 kB / 0.8508 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4603, allocations: 0 / 0.8508 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4603, allocations: 0 / 0.8508 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4603, allocations: 336 / 0.8508 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.4605, allocations: 188.1 kB / 0.8509 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4605, allocations: 0 / 0.8509 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.4607, allocations: 23.97 kB / 0.851 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4607, allocations: 3.938 kB / 0.851 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.4608, allocations: 7.984 kB / 0.851 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4608, allocations: 8 kB / 0.851 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4608, allocations: 7.984 kB / 0.851 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.4613, allocations: 189 kB / 0.8512 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.4613, allocations: 81.05 kB / 0.8512 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4614, allocations: 8.031 kB / 0.8513 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.4615, allocations: 7.984 kB / 0.8513 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.4616, allocations: 7.938 kB / 0.8513 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4616, allocations: 7.984 kB / 0.8513 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.4616, allocations: 79.34 kB / 0.8514 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4616, allocations: 0 / 0.8514 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000266/0.4619, allocations: 39.98 kB / 0.8514 GB, free: 11.24 MB / 0.5261 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.0002313/0.4622, allocations: 131.2 kB / 0.8515 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.4625, allocations: 95.95 kB / 0.8516 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4625, allocations: 0 / 0.8516 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4626, allocations: 47.95 kB / 0.8517 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.4628, allocations: 7.984 kB / 0.8517 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.4634, allocations: 186.3 kB / 0.8518 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.4636, allocations: 0.6809 MB / 0.8525 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.4639, allocations: 27.94 kB / 0.8525 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.4639, allocations: 19.41 kB / 0.8525 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/0.4639, allocations: 0 / 0.8525 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of Templates: time 0.003623/0.4676, allocations: 1.467 MB / 0.854 GB, free: 8.566 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)