Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.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.000938/0.000938, allocations: 80.88 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.000945/0.000945, allocations: 181 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.8785/0.8785, allocations: 177.1 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.03682/0.03682, allocations: 7.525 MB / 267.8 MB, free: 5.875 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.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 285.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.163e-05, allocations: 2.312 kB / 285.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.1184/0.1184, allocations: 17.48 MB / 303.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009556/0.128, allocations: 17.07 MB / 320.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.128, allocations: 0 / 320.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004888/0.1285, allocations: 264.5 kB / 320.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.1395, allocations: 6.967 MB / 327.6 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.1403, allocations: 0.6805 MB / 328.3 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1405, allocations: 214.8 kB / 328.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.1405, allocations: 17.92 kB / 328.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1406, allocations: 127.7 kB / 328.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.1407, allocations: 47.84 kB / 328.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.1407, allocations: 0 / 328.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007231/0.1479, allocations: 6.977 MB / 335.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.148, allocations: 19.91 kB / 335.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.148, allocations: 43.86 kB / 335.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004553/0.1525, allocations: 4.021 MB / 339.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1525, allocations: 0 / 339.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1525, allocations: 4 kB / 339.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1526, allocations: 4 kB / 339.8 MB, free: 11.18 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001112/0.1537, allocations: 0.8156 MB / 340.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1537, allocations: 12.62 kB / 340.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1538, allocations: 41.28 kB / 340.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.125e-05/0.1539, allocations: 131.5 kB / 340.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.1539, allocations: 8 kB / 340.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1539, allocations: 4 kB / 340.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.575e-05/0.154, allocations: 92.38 kB / 340.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-06/0.154, allocations: 0 / 340.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.154, allocations: 8 kB / 340.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.154, allocations: 7.984 kB / 340.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.1541, allocations: 47.08 kB / 341 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.1544, allocations: 340.6 kB / 341.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1545, allocations: 81.08 kB / 341.4 MB, free: 9.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.1545, allocations: 45.98 kB / 341.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03457/0.1891, allocations: 17.2 MB / 358.6 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1891, allocations: 42.55 kB / 358.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.1891, allocations: 3.938 kB / 358.7 MB, free: 8.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002533/0.1894, allocations: 150.7 kB / 358.8 MB, free: 8.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.1895, allocations: 85.05 kB / 358.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.1896, allocations: 118.7 kB / 359 MB, free: 7.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1896, allocations: 33.7 kB / 359 MB, free: 7.773 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.1896, allocations: 80.64 kB / 359.1 MB, free: 7.688 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.1897, allocations: 79.25 kB / 359.2 MB, free: 7.609 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1897, allocations: 37.69 kB / 359.2 MB, free: 7.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.1898, allocations: 326.8 kB / 359.5 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.1898, allocations: 19.98 kB / 359.6 MB, free: 7.219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.1898, allocations: 38.34 kB / 359.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.1899, allocations: 80.23 kB / 359.7 MB, free: 7.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1899, allocations: 4 kB / 359.7 MB, free: 7.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 8.889e-05/0.19, allocations: 106.3 kB / 359.8 MB, free: 6.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.19, allocations: 4 kB / 359.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.19, allocations: 0.6875 kB / 359.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.19, allocations: 0 / 359.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.403e-05/0.19, allocations: 19.94 kB / 359.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.19, allocations: 4 kB / 359.8 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.1901, allocations: 11.89 kB / 359.8 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1901, allocations: 4 kB / 359.8 MB, free: 6.938 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5.144e-05/0.1901, allocations: 121.8 kB / 360 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1902, allocations: 17.81 kB / 360 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.1903, allocations: 279.7 kB / 360.2 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.689e-05/0.1904, allocations: 138.5 kB / 360.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1904, allocations: 0 / 360.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1904, allocations: 0 / 360.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1909, allocations: 0.6091 MB / 361 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1909, allocations: 0 / 361 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.1909, allocations: 38.8 kB / 361 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1909, allocations: 4 kB / 361 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.191, allocations: 4 kB / 361 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.191, allocations: 7.938 kB / 361 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.191, allocations: 3.938 kB / 361 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1912, allocations: 459 kB / 361.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.1912, allocations: 31.72 kB / 361.5 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1912, allocations: 8 kB / 361.5 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.1913, allocations: 8.625 kB / 361.5 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.1913, allocations: 15.97 kB / 361.6 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1913, allocations: 8.031 kB / 361.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.581e-05/0.1913, allocations: 26.8 kB / 361.6 MB, free: 5.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1913, allocations: 0 / 361.6 MB, free: 5.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001354/0.1927, allocations: 0.9423 MB / 362.5 MB, free: 4.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002061/0.1947, allocations: 1.608 MB / 364.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.1949, allocations: 172.4 kB / 364.3 MB, free: 2.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1949, allocations: 0 / 364.3 MB, free: 2.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.1949, allocations: 80.44 kB / 364.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1953, allocations: 151 kB / 364.5 MB, free: 2.168 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.196, allocations: 429.6 kB / 365 MB, free: 1.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.744e-05/0.196, allocations: 80.83 kB / 365 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.393e-05/0.1961, allocations: 37.92 kB / 365.1 MB, free: 1.586 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.1963, allocations: 141.3 kB / 365.2 MB, free: 1.449 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1963, allocations: 0 / 365.2 MB, free: 1.449 MB / 314.7 MB Notification: Performance of Templates: time 0.02981/0.2261, allocations: 32.48 MB / 397.7 MB, free: 1.145 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.392996230628341]