Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.0009564/0.0009564, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001082/0.001082, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9008/0.9008, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02951/0.02951, allocations: 7.525 MB / 267.8 MB, free: 5.867 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 285.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.79e-05, allocations: 5.125 kB / 285.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.1236/0.1236, allocations: 19.72 MB / 305.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009852/0.1334, allocations: 17.13 MB / 322.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.1336, allocations: 0 / 322.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009528/0.1345, allocations: 0.527 MB / 323.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00869/0.1432, allocations: 5.659 MB / 328.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.1446, allocations: 1.123 MB / 330 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.1452, allocations: 0.8403 MB / 330.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.72e-05/0.1453, allocations: 33.94 kB / 330.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.1457, allocations: 470.8 kB / 331.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.1459, allocations: 235.3 kB / 331.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.146, allocations: 28 kB / 331.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006695/0.1527, allocations: 6.552 MB / 338.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.1527, allocations: 87.53 kB / 338.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1529, allocations: 191.5 kB / 338.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004859/0.1577, allocations: 3.854 MB / 342.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1577, allocations: 0 / 342.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1577, allocations: 0 / 342.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1577, allocations: 0 / 342.3 MB, free: 8.625 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001575/0.1593, allocations: 1.123 MB / 343.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.1593, allocations: 8.625 kB / 343.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.1596, allocations: 143.6 kB / 343.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1597, allocations: 173.8 kB / 343.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1597, allocations: 24.66 kB / 343.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.1598, allocations: 24 kB / 343.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.1602, allocations: 0.5267 MB / 344.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1602, allocations: 0 / 344.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1603, allocations: 12.56 kB / 344.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.1603, allocations: 27.94 kB / 344.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.1608, allocations: 0.6735 MB / 345 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.1617, allocations: 1.16 MB / 346.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.1621, allocations: 496.6 kB / 346.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.1624, allocations: 377.5 kB / 347 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02553/0.1879, allocations: 12.41 MB / 359.5 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1879, allocations: 39.78 kB / 359.5 MB, free: 7.336 MB / 314.7 MB Notification: Performance of pre-optimization done (n=185): time 2.364e-06/0.1879, allocations: 0 / 359.5 MB, free: 7.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=185): time 0.001542/0.1895, allocations: 1.507 MB / 361 MB, free: 5.828 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1895, allocations: 60.06 kB / 361.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.1896, allocations: 118.6 kB / 361.2 MB, free: 5.629 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.1896, allocations: 37.7 kB / 361.2 MB, free: 5.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.1897, allocations: 83.08 kB / 361.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.19, allocations: 0.6115 MB / 361.9 MB, free: 4.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.1901, allocations: 154.2 kB / 362.1 MB, free: 4.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.1902, allocations: 318 kB / 362.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.1905, allocations: 321.5 kB / 362.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.1908, allocations: 312.6 kB / 363 MB, free: 3.789 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/0.1916, allocations: 0.816 MB / 363.8 MB, free: 2.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1916, allocations: 6.125 kB / 363.8 MB, free: 2.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001108/0.1927, allocations: 0.9358 MB / 364.7 MB, free: 2.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1927, allocations: 4 kB / 364.7 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1927, allocations: 3.938 kB / 364.7 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1927, allocations: 4 kB / 364.8 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.1931, allocations: 107.9 kB / 364.9 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.1931, allocations: 4 kB / 364.9 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.1933, allocations: 79.25 kB / 364.9 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.1933, allocations: 23.97 kB / 365 MB, free: 1.801 MB / 314.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: 10 (sat_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001644/0.1935, allocations: 142.5 kB / 365.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.1936, allocations: 91.83 kB / 365.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.1949, allocations: 1.206 MB / 366.4 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.1949, allocations: 27.95 kB / 366.4 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1949, allocations: 0 / 366.4 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1949, allocations: 3.984 kB / 366.4 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/0.1955, allocations: 0.5951 MB / 367 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1955, allocations: 0 / 367 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.1959, allocations: 127.8 kB / 367.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1959, allocations: 7.938 kB / 367.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.1959, allocations: 20.67 kB / 367.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1959, allocations: 8 kB / 367.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1959, allocations: 0 / 367.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.1971, allocations: 1.164 MB / 368.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1972, allocations: 127 kB / 368.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.1972, allocations: 16 kB / 368.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.1974, allocations: 12.75 kB / 368.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.1975, allocations: 56.89 kB / 368.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.1975, allocations: 15.98 kB / 368.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.609e-05/0.1976, allocations: 12.86 kB / 368.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1976, allocations: 0 / 368.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001581/0.1991, allocations: 0.9037 MB / 369.5 MB, free: 13.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.002507/0.2016, allocations: 1.475 MB / 371 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.2027, allocations: 0.8474 MB / 371.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2027, allocations: 0 / 371.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.2031, allocations: 463.4 kB / 372.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2042, allocations: 352.7 kB / 372.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2056, allocations: 1.101 MB / 373.7 MB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.2057, allocations: 169.3 kB / 373.9 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004059/0.2061, allocations: 254.9 kB / 374.1 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/0.2066, allocations: 257.1 kB / 374.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.2066, allocations: 0 / 374.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of Templates: time 0.05053/0.2572, allocations: 46.15 MB / 420.5 MB, free: 10.52 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.96482062805444]