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.001378/0.001378, allocations: 80.81 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.001175/0.001175, allocations: 177 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.976/0.976, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.0301/0.0301, allocations: 7.529 MB / 267.8 MB, free: 5.859 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.052e-06/1.052e-06, allocations: 0 / 285.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.268e-05, allocations: 6.25 kB / 285.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.1273/0.1273, allocations: 19.76 MB / 305.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1385, allocations: 17.12 MB / 322.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.1388, allocations: 0 / 322.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.14, allocations: 0.527 MB / 323.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.1505, allocations: 5.464 MB / 328.8 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.1524, allocations: 1.107 MB / 329.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000682/0.1531, allocations: 0.8248 MB / 330.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.1531, allocations: 49.91 kB / 330.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.1536, allocations: 474.7 kB / 331.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1538, allocations: 231.3 kB / 331.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.1539, allocations: 31.98 kB / 331.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007898/0.1618, allocations: 6.778 MB / 338.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.1618, allocations: 95.52 kB / 338.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.162, allocations: 183.5 kB / 338.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.1669, allocations: 3.853 MB / 342.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1669, allocations: 0 / 342.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1669, allocations: 0 / 342.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1669, allocations: 0 / 342.4 MB, free: 8.359 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.001675/0.1686, allocations: 1.127 MB / 343.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1686, allocations: 8.625 kB / 343.5 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.1689, allocations: 143.6 kB / 343.7 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.169, allocations: 168.5 kB / 343.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1691, allocations: 20.66 kB / 343.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.1691, allocations: 27.94 kB / 343.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.1696, allocations: 0.5267 MB / 344.4 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1696, allocations: 4 kB / 344.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.1696, allocations: 8 kB / 344.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.1696, allocations: 28.52 kB / 344.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005319/0.1701, allocations: 0.6696 MB / 345.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009745/0.1711, allocations: 1.164 MB / 346.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.1715, allocations: 0.4897 MB / 346.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.1718, allocations: 373.5 kB / 347.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02561/0.1974, allocations: 12.4 MB / 359.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1974, allocations: 43.22 kB / 359.6 MB, free: 7.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=185): time 2.675e-06/0.1974, allocations: 0 / 359.6 MB, free: 7.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=185): time 0.001264/0.1987, allocations: 1.507 MB / 361.1 MB, free: 5.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1987, allocations: 60.06 kB / 361.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.1988, allocations: 110.7 kB / 361.3 MB, free: 5.371 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.1988, allocations: 33.7 kB / 361.3 MB, free: 5.332 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.1989, allocations: 95.05 kB / 361.4 MB, free: 5.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.1992, allocations: 0.6076 MB / 362 MB, free: 4.621 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.1994, allocations: 154.2 kB / 362.1 MB, free: 4.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.1995, allocations: 318 kB / 362.5 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.1998, allocations: 329.4 kB / 362.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.2001, allocations: 308.6 kB / 363.1 MB, free: 3.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/0.2009, allocations: 0.8199 MB / 363.9 MB, free: 2.703 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.2009, allocations: 3.938 kB / 363.9 MB, free: 2.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001017/0.202, allocations: 0.9358 MB / 364.8 MB, free: 1.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.202, allocations: 4 kB / 364.8 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.202, allocations: 0 / 364.8 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.202, allocations: 4 kB / 364.8 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.2024, allocations: 119.8 kB / 365 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2024, allocations: 0 / 365 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2026, allocations: 87.23 kB / 365 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.2026, allocations: 19.98 kB / 365.1 MB, free: 1.523 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.0001319/0.2028, allocations: 143.3 kB / 365.2 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.2029, allocations: 101 kB / 365.3 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.2042, allocations: 1.209 MB / 366.5 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.2042, allocations: 29.33 kB / 366.5 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2042, allocations: 0 / 366.5 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.2042, allocations: 3.984 kB / 366.5 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/0.2049, allocations: 0.5913 MB / 367.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2049, allocations: 0 / 367.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.2053, allocations: 139.8 kB / 367.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2053, allocations: 7.938 kB / 367.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.2053, allocations: 15.98 kB / 367.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.2053, allocations: 4 kB / 367.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2054, allocations: 4.688 kB / 367.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.2065, allocations: 1.168 MB / 368.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.2067, allocations: 127 kB / 368.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.2068, allocations: 12 kB / 368.6 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.207, allocations: 16 kB / 368.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.2071, allocations: 59.22 kB / 368.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.2071, allocations: 18 kB / 368.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.845e-05/0.2071, allocations: 12.84 kB / 368.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2071, allocations: 0 / 368.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001906/0.209, allocations: 0.8998 MB / 369.6 MB, free: 12.94 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.002742/0.2118, allocations: 1.477 MB / 371.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009244/0.2127, allocations: 0.8396 MB / 371.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2127, allocations: 0 / 371.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.2132, allocations: 459.4 kB / 372.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.2143, allocations: 365.4 kB / 372.7 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.2158, allocations: 1.096 MB / 373.8 MB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.216, allocations: 161.5 kB / 374 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004379/0.2164, allocations: 263.7 kB / 374.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.217, allocations: 257.1 kB / 374.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.217, allocations: 0 / 374.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of Templates: time 0.05914/0.2761, allocations: 46.14 MB / 420.6 MB, free: 10.24 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.377891070209444]