Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.001084/0.001084, 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.001069/0.001069, allocations: 173 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 1.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.03211/0.03211, allocations: 7.52 MB / 267.8 MB, free: 5.871 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.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 285.9 MB, free: 3.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.536e-05, allocations: 2.312 kB / 285.9 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.1259/0.1259, allocations: 17.63 MB / 303.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.1378, allocations: 17.23 MB / 320.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.1379, allocations: 0 / 320.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.1386, allocations: 284.5 kB / 321 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.154, allocations: 7.183 MB / 328.2 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.1557, allocations: 0.7 MB / 328.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.156, allocations: 238.8 kB / 329.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.156, allocations: 5.969 kB / 329.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1562, allocations: 147.6 kB / 329.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.387e-05/0.1563, allocations: 51.83 kB / 329.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1563, allocations: 4 kB / 329.4 MB, free: 5.648 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.01239/0.1687, allocations: 7.972 MB / 337.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.1687, allocations: 19.86 kB / 337.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.1688, allocations: 35.92 kB / 337.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009728/0.1785, allocations: 4.122 MB / 341.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1785, allocations: 0 / 341.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1785, allocations: 0 / 341.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1785, allocations: 0 / 341.5 MB, free: 9.473 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.001678/0.1802, allocations: 0.8234 MB / 342.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1802, allocations: 8.625 kB / 342.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1804, allocations: 43.84 kB / 342.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1805, allocations: 133 kB / 342.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1805, allocations: 4 kB / 342.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1805, allocations: 8 kB / 342.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1806, allocations: 92.38 kB / 342.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1807, allocations: 0 / 342.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1807, allocations: 4.562 kB / 342.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1807, allocations: 0 / 342.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.1807, allocations: 54.7 kB / 342.7 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.1814, allocations: 340.6 kB / 343 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1815, allocations: 81.69 kB / 343.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.1815, allocations: 46.55 kB / 343.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03751/0.219, allocations: 17.2 MB / 360.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.2191, allocations: 42.48 kB / 360.4 MB, free: 6.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.926e-06/0.2191, allocations: 0 / 360.4 MB, free: 6.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003781/0.2194, allocations: 167.4 kB / 360.5 MB, free: 6.309 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.2195, allocations: 77.11 kB / 360.6 MB, free: 6.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.848e-05/0.2196, allocations: 118.7 kB / 360.7 MB, free: 6.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2196, allocations: 25.7 kB / 360.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.2196, allocations: 88.64 kB / 360.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.2196, allocations: 83.23 kB / 360.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.2197, allocations: 37.69 kB / 361 MB, free: 5.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.065e-05/0.2198, allocations: 326.8 kB / 361.3 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.2198, allocations: 16 kB / 361.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.2198, allocations: 38.34 kB / 361.3 MB, free: 5.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.492e-05/0.2199, allocations: 75.86 kB / 361.4 MB, free: 5.375 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2199, allocations: 0 / 361.4 MB, free: 5.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001325/0.22, allocations: 106.9 kB / 361.5 MB, free: 5.266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2201, allocations: 12 kB / 361.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2201, allocations: 0 / 361.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2201, allocations: 0 / 361.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.2202, allocations: 23.92 kB / 361.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2202, allocations: 4 kB / 361.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.2202, allocations: 7.953 kB / 361.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2202, allocations: 4 kB / 361.6 MB, free: 5.215 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 9.109e-05/0.2203, allocations: 117.8 kB / 361.7 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.2204, allocations: 19.86 kB / 361.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.2206, allocations: 281.7 kB / 362 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.967e-05/0.2207, allocations: 136.9 kB / 362.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.2207, allocations: 1.375 kB / 362.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2207, allocations: 3.984 kB / 362.1 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.2212, allocations: 0.6025 MB / 362.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2212, allocations: 0 / 362.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.2213, allocations: 39.98 kB / 362.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.2213, allocations: 4 kB / 362.8 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2213, allocations: 8 kB / 362.8 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2213, allocations: 11.86 kB / 362.8 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2213, allocations: 4.625 kB / 362.8 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.2216, allocations: 457.7 kB / 363.2 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.2216, allocations: 23.8 kB / 363.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2217, allocations: 8.562 kB / 363.3 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.2217, allocations: 3.938 kB / 363.3 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.2217, allocations: 19.97 kB / 363.3 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.2218, allocations: 6.172 kB / 363.3 MB, free: 3.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.455e-05/0.2218, allocations: 25.78 kB / 363.3 MB, free: 3.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2218, allocations: 4.031 kB / 363.3 MB, free: 3.406 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001958/0.2237, allocations: 0.9462 MB / 364.3 MB, free: 2.457 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.003646/0.2274, allocations: 1.645 MB / 365.9 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.2276, allocations: 180.5 kB / 366.1 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2276, allocations: 0 / 366.1 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.082e-05/0.2277, allocations: 84.44 kB / 366.2 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/0.2284, allocations: 140.8 kB / 366.3 MB, free: 424 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000971/0.2293, allocations: 422.6 kB / 366.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.893e-05/0.2294, allocations: 84.83 kB / 366.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.2296, allocations: 47.22 kB / 366.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.2298, allocations: 141.3 kB / 367 MB, free: 15.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2298, allocations: 0 / 367 MB, free: 15.69 MB / 330.7 MB Notification: Performance of Templates: time 0.04368/0.2735, allocations: 32.51 MB / 399.5 MB, free: 15.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.24682994466275]