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.00104/0.00104, 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.002065/0.002065, allocations: 177 kB / 23.35 MB, free: 1.137 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 1.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.03532/0.03532, allocations: 7.523 MB / 267.8 MB, free: 5.891 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.483e-06/1.483e-06, allocations: 0 / 285.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.517e-05, allocations: 5.406 kB / 285.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.1254/0.1254, allocations: 17.55 MB / 303.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1379, allocations: 17.05 MB / 320.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.138, allocations: 0 / 320.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.1386, allocations: 272.4 kB / 320.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.1518, allocations: 6.828 MB / 327.6 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1528, allocations: 0.6687 MB / 328.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.153, allocations: 218.8 kB / 328.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.1531, allocations: 5.969 kB / 328.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1532, allocations: 127.6 kB / 328.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1533, allocations: 43.84 kB / 328.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1533, allocations: 4 kB / 328.7 MB, free: 6.367 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.1636, allocations: 7.34 MB / 336 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1636, allocations: 15.86 kB / 336 MB, free: 15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.1636, allocations: 43.92 kB / 336.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005348/0.169, allocations: 4.029 MB / 340.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.169, allocations: 4 kB / 340.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.169, allocations: 0 / 340.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.169, allocations: 0 / 340.1 MB, free: 10.91 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.001127/0.1701, allocations: 0.8157 MB / 340.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1702, allocations: 8.625 kB / 340.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.1703, allocations: 43.84 kB / 340.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1705, allocations: 130.8 kB / 341.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1705, allocations: 8 kB / 341.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1705, allocations: 7.047 kB / 341.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1706, allocations: 94.34 kB / 341.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1706, allocations: 4 kB / 341.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1706, allocations: 4 kB / 341.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1706, allocations: 4 kB / 341.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.702e-05/0.1707, allocations: 45.58 kB / 341.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.1711, allocations: 344.6 kB / 341.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1712, allocations: 85.06 kB / 341.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.1713, allocations: 39.25 kB / 341.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03967/0.2109, allocations: 17.2 MB / 358.9 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.211, allocations: 39.11 kB / 358.9 MB, free: 7.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.836e-06/0.211, allocations: 4 kB / 358.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003809/0.2113, allocations: 158.1 kB / 359.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.2114, allocations: 81.11 kB / 359.2 MB, free: 7.664 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.2115, allocations: 118.7 kB / 359.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.2115, allocations: 29.7 kB / 359.3 MB, free: 7.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.2115, allocations: 84.64 kB / 359.4 MB, free: 7.414 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.2115, allocations: 87.23 kB / 359.5 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.2116, allocations: 33.69 kB / 359.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.2117, allocations: 322.8 kB / 359.8 MB, free: 6.965 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.2117, allocations: 16 kB / 359.9 MB, free: 6.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.2117, allocations: 37.69 kB / 359.9 MB, free: 6.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.2118, allocations: 92.95 kB / 360 MB, free: 6.812 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2118, allocations: 0 / 360 MB, free: 6.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001017/0.2119, allocations: 99.31 kB / 360.1 MB, free: 6.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2119, allocations: 8 kB / 360.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2119, allocations: 0 / 360.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2119, allocations: 0 / 360.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.212, allocations: 27.92 kB / 360.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.212, allocations: 0 / 360.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.212, allocations: 15.83 kB / 360.1 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.212, allocations: 4 kB / 360.1 MB, free: 6.656 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 6.608e-05/0.2121, allocations: 118.4 kB / 360.2 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.2121, allocations: 15.92 kB / 360.3 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.2124, allocations: 271.8 kB / 360.5 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.733e-05/0.2125, allocations: 137.4 kB / 360.7 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2125, allocations: 5.359 kB / 360.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2125, allocations: 0 / 360.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.2129, allocations: 0.6064 MB / 361.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2129, allocations: 8 kB / 361.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.213, allocations: 35.98 kB / 361.3 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.213, allocations: 3.938 kB / 361.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.213, allocations: 12.5 kB / 361.3 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.213, allocations: 3.938 kB / 361.3 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.213, allocations: 0 / 361.3 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.2133, allocations: 465.7 kB / 361.8 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.2133, allocations: 24.36 kB / 361.8 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2133, allocations: 4 kB / 361.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.2134, allocations: 15.92 kB / 361.8 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.2134, allocations: 12.48 kB / 361.8 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.2134, allocations: 14.22 kB / 361.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.765e-05/0.2134, allocations: 22.56 kB / 361.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2134, allocations: 0 / 361.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001499/0.2149, allocations: 0.9501 MB / 362.8 MB, free: 3.898 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.002526/0.2175, allocations: 1.614 MB / 364.4 MB, free: 2.285 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.2176, allocations: 177.8 kB / 364.6 MB, free: 2.098 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2176, allocations: 0 / 364.6 MB, free: 2.098 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.2177, allocations: 72.52 kB / 364.7 MB, free: 2.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.2181, allocations: 144.4 kB / 364.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.2188, allocations: 421.6 kB / 365.2 MB, free: 1.441 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.2189, allocations: 84.83 kB / 365.3 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.593e-05/0.219, allocations: 39.89 kB / 365.4 MB, free: 1.305 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.2191, allocations: 133.3 kB / 365.5 MB, free: 1.176 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2191, allocations: 4 kB / 365.5 MB, free: 1.172 MB / 314.7 MB Notification: Performance of Templates: time 0.02853/0.2477, allocations: 32.48 MB / 398 MB, free: 0.8711 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.504815552849323]