Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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.000823/0.000823, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009855/0.0009855, allocations: 169 kB / 23.02 MB, free: 1.551 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.9671/0.9671, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03081/0.03081, allocations: 7.523 MB / 267.5 MB, free: 5.988 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.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.835e-05, allocations: 2.312 kB / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.009869/0.009897, allocations: 12.94 MB / 351.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.01661, allocations: 8.351 MB / 360 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.01668, allocations: 0 / 360 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.01686, allocations: 39.75 kB / 360 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0042/0.02106, allocations: 1.899 MB / 361.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00516/0.02622, allocations: 2.288 MB / 364.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.02643, allocations: 139 kB / 364.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.02649, allocations: 7.938 kB / 364.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.02658, allocations: 63.81 kB / 364.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.02669, allocations: 39.89 kB / 364.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.02671, allocations: 4 kB / 364.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.03699, allocations: 6.645 MB / 371.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.03702, allocations: 19.92 kB / 371.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.261e-05/0.0371, allocations: 31.92 kB / 371.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008668/0.04577, allocations: 4.888 MB / 376 MB, free: 5.496 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.04577, allocations: 0 / 376 MB, free: 5.496 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.04577, allocations: 0 / 376 MB, free: 5.496 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.04578, allocations: 0 / 376 MB, free: 5.496 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002389/0.04817, allocations: 0.9301 MB / 376.9 MB, free: 4.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.04821, allocations: 12.62 kB / 377 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.04849, allocations: 64.78 kB / 377 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.04867, allocations: 148.4 kB / 377.2 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.04868, allocations: 12.56 kB / 377.2 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.04871, allocations: 12.38 kB / 377.2 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.04932, allocations: 326.7 kB / 377.5 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.04933, allocations: 0 / 377.5 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.04934, allocations: 8 kB / 377.5 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.04935, allocations: 0 / 377.5 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.04977, allocations: 235.6 kB / 377.8 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.05032, allocations: 0.4984 MB / 378.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.05085, allocations: 278 kB / 378.5 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.05091, allocations: 43.36 kB / 378.6 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.192/0.2429, allocations: 35.05 MB / 413.6 MB, free: 62.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.2429, allocations: 39.14 kB / 413.7 MB, free: 62.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.2429, allocations: 0 / 413.7 MB, free: 62.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001097/0.244, allocations: 406.6 kB / 414.1 MB, free: 62.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.2441, allocations: 80.05 kB / 414.1 MB, free: 61.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.2441, allocations: 188 kB / 414.3 MB, free: 61.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2442, allocations: 30.77 kB / 414.3 MB, free: 61.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.2442, allocations: 147.5 kB / 414.5 MB, free: 61.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.2442, allocations: 51.52 kB / 414.5 MB, free: 61.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.2443, allocations: 66.55 kB / 414.6 MB, free: 61.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.2444, allocations: 0.492 MB / 415.1 MB, free: 61.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.2444, allocations: 66.73 kB / 415.2 MB, free: 61.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2445, allocations: 105.5 kB / 415.3 MB, free: 61.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.2447, allocations: 182 kB / 415.4 MB, free: 60.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2448, allocations: 1.25 kB / 415.4 MB, free: 60.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000317/0.2451, allocations: 245 kB / 415.7 MB, free: 60.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2451, allocations: 6.719 kB / 415.7 MB, free: 60.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2451, allocations: 0.625 kB / 415.7 MB, free: 60.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2451, allocations: 3.75 kB / 415.7 MB, free: 60.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.2452, allocations: 58.03 kB / 415.7 MB, free: 60.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2452, allocations: 3.281 kB / 415.8 MB, free: 60.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.2453, allocations: 14.34 kB / 415.8 MB, free: 60.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2453, allocations: 16.48 kB / 415.8 MB, free: 60.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.129e-05/0.2454, allocations: 172.7 kB / 416 MB, free: 60.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.2455, allocations: 12.02 kB / 416 MB, free: 60.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009453/0.2464, allocations: 1.402 MB / 417.4 MB, free: 60.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2464, allocations: 10.19 kB / 417.4 MB, free: 60.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2464, allocations: 2.969 kB / 417.4 MB, free: 60.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2464, allocations: 1.078 kB / 417.4 MB, free: 60.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.2467, allocations: 0.5888 MB / 418 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.2467, allocations: 3.812 kB / 418 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.2469, allocations: 36.64 kB / 418 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2469, allocations: 2.219 kB / 418 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2469, allocations: 2.938 kB / 418 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2469, allocations: 0 / 418 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2469, allocations: 1.859 kB / 418 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.2473, allocations: 0.6011 MB / 418.6 MB, free: 59.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.2473, allocations: 29.72 kB / 418.6 MB, free: 59.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.2473, allocations: 6.344 kB / 418.7 MB, free: 59.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.2474, allocations: 0 / 418.7 MB, free: 59.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.2474, allocations: 15.77 kB / 418.7 MB, free: 59.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.2475, allocations: 8.75 kB / 418.7 MB, free: 59.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.2475, allocations: 137.8 kB / 418.8 MB, free: 59.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2475, allocations: 1.031 kB / 418.8 MB, free: 59.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002277/0.2498, allocations: 0.9186 MB / 419.7 MB, free: 59.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.003063/0.2528, allocations: 1.246 MB / 421 MB, free: 59.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.2532, allocations: 204.2 kB / 421.2 MB, free: 59.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2532, allocations: 1.312 kB / 421.2 MB, free: 59.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.2533, allocations: 107.5 kB / 421.3 MB, free: 59.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.2536, allocations: 62.64 kB / 421.3 MB, free: 59.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.2546, allocations: 0.521 MB / 421.9 MB, free: 59.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.981e-05/0.2547, allocations: 93.28 kB / 422 MB, free: 59.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003049/0.255, allocations: 374.9 kB / 422.3 MB, free: 59.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.2551, allocations: 34.14 kB / 422.4 MB, free: 59.37 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.2551, allocations: 4 kB / 422.4 MB, free: 59.37 MB / 330.7 MB Notification: Performance of Templates: time 0.02899/0.2841, allocations: 34.68 MB / 457 MB, free: 32.05 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.39154749782756]