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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9726/0.9726, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001488/0.001488, allocations: 241.4 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7101/0.7101, allocations: 138.4 MB / 402.2 MB, free: 44 kB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 462.3 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.511e-05, allocations: 3.969 kB / 462.3 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002048/0.002073, allocations: 1.342 MB / 463.7 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.002978, allocations: 0.6439 MB / 464.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.003006, allocations: 2.875 kB / 464.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.003026, allocations: 0.5469 kB / 464.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.003076, allocations: 5.062 kB / 464.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.003616, allocations: 120.2 kB / 464.4 MB, free: 15.47 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.137e-05/0.003687, allocations: 23.33 kB / 464.5 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.003728, allocations: 8.188 kB / 464.5 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.003772, allocations: 14.52 kB / 464.5 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.003841, allocations: 7.531 kB / 464.5 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.003857, allocations: 2.375 kB / 464.5 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.004165, allocations: 141.9 kB / 464.6 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.004186, allocations: 6.781 kB / 464.6 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.004207, allocations: 10.31 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.004424, allocations: 109.9 kB / 464.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004426, allocations: 1.406 kB / 464.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004426, allocations: 0 / 464.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.00443, allocations: 1.672 kB / 464.8 MB, free: 15.38 MB / 426.7 MB 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.0003374/0.004768, allocations: 261 kB / 465 MB, free: 15.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.004803, allocations: 9.281 kB / 465 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.005058, allocations: 28.94 kB / 465.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.467e-05/0.005143, allocations: 114.4 kB / 465.2 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005156, allocations: 1.938 kB / 465.2 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.00518, allocations: 8.844 kB / 465.2 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.005317, allocations: 92.09 kB / 465.3 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.005326, allocations: 1.25 kB / 465.3 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.005336, allocations: 1.094 kB / 465.3 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.005343, allocations: 1.406 kB / 465.3 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.005382, allocations: 16.72 kB / 465.3 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.005488, allocations: 63.2 kB / 465.4 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.005646, allocations: 53.56 kB / 465.4 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.00567, allocations: 17.16 kB / 465.4 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.005685, allocations: 1.188 kB / 465.4 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.005708, allocations: 34.59 kB / 465.5 MB, free: 14.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005709, allocations: 0 / 465.5 MB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.001774/0.007483, allocations: 487.1 kB / 465.9 MB, free: 14.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.007513, allocations: 52.84 kB / 466 MB, free: 14.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.007567, allocations: 99.05 kB / 466.1 MB, free: 14.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.007585, allocations: 33.64 kB / 466.1 MB, free: 14.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.007607, allocations: 82.92 kB / 466.2 MB, free: 14.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.007646, allocations: 24.39 kB / 466.2 MB, free: 14.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.007692, allocations: 25.58 kB / 466.2 MB, free: 14.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.007776, allocations: 321.4 kB / 466.6 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.00781, allocations: 18.5 kB / 466.6 MB, free: 13.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.007841, allocations: 20.95 kB / 466.6 MB, free: 13.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.007917, allocations: 47.7 kB / 466.6 MB, free: 13.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007918, allocations: 0 / 466.6 MB, free: 13.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001093/0.008027, allocations: 75.2 kB / 466.7 MB, free: 13.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.008041, allocations: 6.125 kB / 466.7 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.008046, allocations: 0 / 466.7 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.008061, allocations: 2.406 kB / 466.7 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.008168, allocations: 29.92 kB / 466.8 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.008173, allocations: 1.453 kB / 466.8 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.008223, allocations: 10.31 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.008236, allocations: 2.766 kB / 466.8 MB, free: 13.86 MB / 426.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.008306, allocations: 106.4 kB / 466.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.008322, allocations: 8.797 kB / 466.9 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.008362, allocations: 16.59 kB / 466.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.008365, allocations: 2.047 kB / 466.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.008367, allocations: 0 / 466.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.00837, allocations: 1.531 kB / 466.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.333e-05/0.008453, allocations: 81.53 kB / 467 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008456, allocations: 1.969 kB / 467 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.008539, allocations: 18.61 kB / 467 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.008542, allocations: 6.469 kB / 467 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.008553, allocations: 2.719 kB / 467 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008554, allocations: 2.312 kB / 467 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008555, allocations: 3.938 kB / 467 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.008733, allocations: 126.4 kB / 467.1 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.008743, allocations: 5.594 kB / 467.1 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.008758, allocations: 2.547 kB / 467.1 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.008814, allocations: 9.297 kB / 467.2 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.008833, allocations: 10.02 kB / 467.2 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.008844, allocations: 2.531 kB / 467.2 MB, free: 13.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.272e-05/0.008856, allocations: 14.17 kB / 467.2 MB, free: 13.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008856, allocations: 0.5938 kB / 467.2 MB, free: 13.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.009036, allocations: 32.67 kB / 467.2 MB, free: 13.43 MB / 426.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001613/0.009197, allocations: 103.2 kB / 467.3 MB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.009301, allocations: 64.7 kB / 467.4 MB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.009304, allocations: 0 / 467.4 MB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.009342, allocations: 32.83 kB / 467.4 MB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.009446, allocations: 22.98 kB / 467.4 MB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.009937, allocations: 156.3 kB / 467.6 MB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.009968, allocations: 56.14 kB / 467.6 MB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.01008, allocations: 29.7 kB / 467.7 MB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.01017, allocations: 63.36 kB / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01017, allocations: 0.5625 kB / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of Templates: time 0.003483/0.01366, allocations: 1.823 MB / 469.6 MB, free: 11.23 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6063132816925645]