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.001243/0.001243, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001622/0.001622, allocations: 169 kB / 23.27 MB, free: 1.223 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.9401/0.9401, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.03094/0.03094, allocations: 7.528 MB / 267.8 MB, free: 5.855 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.983e-06/1.983e-06, allocations: 0 / 339.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.606e-05, allocations: 2.312 kB / 339.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02118/0.0212, allocations: 19.57 MB / 358.7 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.03302, allocations: 16.92 MB / 375.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.03333, allocations: 4 kB / 375.6 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.03443, allocations: 0.5179 MB / 376.2 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008479/0.04291, allocations: 5.635 MB / 381.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.04454, allocations: 1.111 MB / 382.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.04505, allocations: 0.8326 MB / 383.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.865e-05/0.04511, allocations: 29.84 kB / 383.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.04547, allocations: 474.8 kB / 384.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.04568, allocations: 235.3 kB / 384.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.04572, allocations: 32 kB / 384.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007076/0.05279, allocations: 6.661 MB / 391.2 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.05285, allocations: 91.52 kB / 391.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.05298, allocations: 191.5 kB / 391.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00458/0.05756, allocations: 3.845 MB / 395.3 MB, free: 2.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.05756, allocations: 0 / 395.3 MB, free: 2.336 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.05756, allocations: 0 / 395.3 MB, free: 2.336 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.05757, allocations: 0 / 395.3 MB, free: 2.336 MB / 314.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.001301/0.05887, allocations: 1.275 MB / 396.5 MB, free: 1.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.05891, allocations: 8.625 kB / 396.6 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.05923, allocations: 171.3 kB / 396.7 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.05934, allocations: 175.2 kB / 396.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.05936, allocations: 20.66 kB / 396.9 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.05939, allocations: 28 kB / 396.9 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.05984, allocations: 0.4967 MB / 397.4 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.05985, allocations: 0 / 397.4 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.05988, allocations: 12 kB / 397.5 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.05989, allocations: 27.95 kB / 397.5 MB, free: 48 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.06046, allocations: 0.7202 MB / 398.2 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.06152, allocations: 1.364 MB / 399.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.06192, allocations: 459.1 kB / 400 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.0622, allocations: 408.2 kB / 400.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006919/0.06912, allocations: 3.101 MB / 403.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.06914, allocations: 45.98 kB / 403.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of pre-optimization done (n=185): time 1.793e-06/0.06914, allocations: 0 / 403.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.001299/0.07044, allocations: 1.672 MB / 405.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.07047, allocations: 64 kB / 405.3 MB, free: 8.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.07054, allocations: 173.9 kB / 405.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.07056, allocations: 37.7 kB / 405.5 MB, free: 7.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.0706, allocations: 133.8 kB / 405.6 MB, free: 7.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.07087, allocations: 0.6195 MB / 406.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.07102, allocations: 199.8 kB / 406.4 MB, free: 7.012 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.07111, allocations: 492.4 kB / 406.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.07135, allocations: 314.6 kB / 407.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.07159, allocations: 332.5 kB / 407.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.0722, allocations: 0.8395 MB / 408.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.0722, allocations: 0 / 408.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.0008765/0.07307, allocations: 1.089 MB / 409.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.07309, allocations: 8 kB / 409.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.0731, allocations: 3.938 kB / 409.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.07311, allocations: 0 / 409.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.07338, allocations: 115.9 kB / 409.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.07338, allocations: 0 / 409.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.07353, allocations: 87.23 kB / 409.7 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.07355, allocations: 19.98 kB / 409.7 MB, free: 3.727 MB / 330.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.0001204/0.07367, allocations: 184.5 kB / 409.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.07381, allocations: 127.4 kB / 410 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.07486, allocations: 1.337 MB / 411.4 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.07488, allocations: 23.97 kB / 411.4 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.07488, allocations: 0 / 411.4 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.07489, allocations: 3.984 kB / 411.4 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.07534, allocations: 0.6407 MB / 412 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.07535, allocations: 0 / 412 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.07562, allocations: 135.8 kB / 412.2 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.07563, allocations: 4 kB / 412.2 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.07565, allocations: 19.94 kB / 412.2 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.07565, allocations: 8 kB / 412.2 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.07565, allocations: 0 / 412.2 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1145/0.1901, allocations: 1.33 MB / 413.5 MB, free: 79.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.1905, allocations: 145.8 kB / 413.7 MB, free: 79.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1905, allocations: 20.69 kB / 413.7 MB, free: 79.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.1907, allocations: 18.88 kB / 413.7 MB, free: 79.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.1908, allocations: 53.11 kB / 413.7 MB, free: 79.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.1908, allocations: 16.39 kB / 413.8 MB, free: 79.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.352e-05/0.1909, allocations: 131.8 kB / 413.9 MB, free: 79.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1909, allocations: 0 / 413.9 MB, free: 79.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00192/0.1928, allocations: 0.8976 MB / 414.8 MB, free: 79.14 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.002415/0.1952, allocations: 1.474 MB / 416.3 MB, free: 79.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009399/0.1962, allocations: 0.9195 MB / 417.2 MB, free: 78.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1962, allocations: 1.344 kB / 417.2 MB, free: 78.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.1966, allocations: 0.5016 MB / 417.7 MB, free: 78.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.1975, allocations: 347.3 kB / 418 MB, free: 78.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.1989, allocations: 1.096 MB / 419.1 MB, free: 78.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.971e-05/0.199, allocations: 163.8 kB / 419.3 MB, free: 78.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.1994, allocations: 253.9 kB / 419.5 MB, free: 78.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.1998, allocations: 312.9 kB / 419.8 MB, free: 78.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1998, allocations: 0 / 419.8 MB, free: 78.36 MB / 330.7 MB Notification: Performance of Templates: time 0.03676/0.2366, allocations: 46.49 MB / 466.3 MB, free: 35.05 MB / 330.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: 8.249357654713094]