Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.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.00134/0.00134, allocations: 80.81 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.001631/0.001631, allocations: 173 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.03243/0.03243, allocations: 7.52 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.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 285.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.223e-05, allocations: 6.312 kB / 285.9 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.1655/0.1656, allocations: 17.63 MB / 303.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.1796, allocations: 17.22 MB / 320.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1797, allocations: 0 / 320.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00067/0.1803, allocations: 296.5 kB / 321 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.1954, allocations: 6.97 MB / 328 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.1967, allocations: 0.7156 MB / 328.7 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1969, allocations: 234.9 kB / 328.9 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.197, allocations: 5.969 kB / 329 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1971, allocations: 143.6 kB / 329.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.871e-05/0.1972, allocations: 47.84 kB / 329.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.1972, allocations: 4 kB / 329.1 MB, free: 5.711 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.01135/0.2086, allocations: 7.527 MB / 336.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.2086, allocations: 15.86 kB / 336.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.2086, allocations: 43.91 kB / 336.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008456/0.2171, allocations: 4.029 MB / 340.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2171, allocations: 0 / 340.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2171, allocations: 0 / 340.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.2171, allocations: 4 kB / 340.8 MB, free: 10.07 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.001537/0.2186, allocations: 0.8234 MB / 341.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2187, allocations: 8.625 kB / 341.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.2189, allocations: 39.89 kB / 341.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.219, allocations: 134.8 kB / 341.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.219, allocations: 8 kB / 341.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.219, allocations: 4 kB / 341.8 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.2191, allocations: 94.34 kB / 341.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2191, allocations: 0 / 341.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2192, allocations: 4 kB / 341.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2192, allocations: 8 kB / 341.9 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.114e-05/0.2192, allocations: 50.94 kB / 341.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.2196, allocations: 344.6 kB / 342.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2197, allocations: 85.66 kB / 342.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.2197, allocations: 34.22 kB / 342.4 MB, free: 8.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03837/0.2581, allocations: 17.2 MB / 359.6 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.2581, allocations: 38.5 kB / 359.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.555e-06/0.2581, allocations: 0 / 359.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003598/0.2585, allocations: 157.9 kB / 359.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.2585, allocations: 81.11 kB / 359.9 MB, free: 6.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.2586, allocations: 122.7 kB / 360 MB, free: 6.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2586, allocations: 29.7 kB / 360 MB, free: 6.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.2586, allocations: 88.58 kB / 360.1 MB, free: 6.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.2587, allocations: 83.3 kB / 360.2 MB, free: 6.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2587, allocations: 33.69 kB / 360.2 MB, free: 6.441 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.2588, allocations: 322.8 kB / 360.5 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.2588, allocations: 16 kB / 360.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.2589, allocations: 41.69 kB / 360.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.2589, allocations: 83.34 kB / 360.7 MB, free: 5.969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2589, allocations: 0 / 360.7 MB, free: 5.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001052/0.259, allocations: 107.4 kB / 360.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2591, allocations: 4 kB / 360.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2591, allocations: 6.672 kB / 360.8 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2591, allocations: 0 / 360.8 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.2591, allocations: 27.92 kB / 360.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.2591, allocations: 3.938 kB / 360.8 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.2592, allocations: 11.89 kB / 360.8 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2592, allocations: 4 kB / 360.8 MB, free: 5.805 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.019e-05/0.2592, allocations: 109.8 kB / 360.9 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.2593, allocations: 19.92 kB / 360.9 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.2595, allocations: 284.6 kB / 361.2 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.371e-05/0.2596, allocations: 132.1 kB / 361.4 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.2596, allocations: 5.375 kB / 361.4 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2596, allocations: 3.984 kB / 361.4 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.2601, allocations: 0.6013 MB / 362 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2601, allocations: 4 kB / 362 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.2602, allocations: 35.98 kB / 362 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2602, allocations: 4 kB / 362 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2602, allocations: 11.94 kB / 362 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.2602, allocations: 3.938 kB / 362 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2602, allocations: 0 / 362 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.2605, allocations: 466.9 kB / 362.5 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.2605, allocations: 24.36 kB / 362.5 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.2605, allocations: 4 kB / 362.5 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.2606, allocations: 11.94 kB / 362.5 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.2606, allocations: 11.97 kB / 362.5 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2606, allocations: 10.19 kB / 362.5 MB, free: 4.031 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.254e-05/0.2606, allocations: 30.58 kB / 362.6 MB, free: 4 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2606, allocations: 0 / 362.6 MB, free: 4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001847/0.2625, allocations: 0.9501 MB / 363.5 MB, free: 3.047 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.003739/0.2662, allocations: 1.6 MB / 365.1 MB, free: 1.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.2665, allocations: 175.9 kB / 365.3 MB, free: 1.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2665, allocations: 3.938 kB / 365.3 MB, free: 1.266 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.2665, allocations: 72.52 kB / 365.4 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.267, allocations: 149.5 kB / 365.5 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.2678, allocations: 423.5 kB / 365.9 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.443e-05/0.2679, allocations: 80.83 kB / 366 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.268, allocations: 43.19 kB / 366 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.2682, allocations: 137.3 kB / 366.2 MB, free: 344 kB / 314.7 MB Notification: Performance of SimCode: time 1.843e-06/0.2682, allocations: 0 / 366.2 MB, free: 344 kB / 314.7 MB Notification: Performance of Templates: time 0.03658/0.3048, allocations: 32.47 MB / 398.7 MB, free: 32 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.623841036111116]