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.001292/0.001292, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001494/0.001494, allocations: 169 kB / 23.27 MB, free: 1.223 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.9449/0.9449, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.02964/0.02964, allocations: 7.526 MB / 267.8 MB, free: 5.848 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.403e-06/1.403e-06, allocations: 0 / 339.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.341e-05, allocations: 2.312 kB / 339.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01294/0.01296, allocations: 12.81 MB / 351.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00808/0.02104, allocations: 8.202 MB / 360.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.02112, allocations: 4 kB / 360.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.02129, allocations: 35.75 kB / 360.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003373/0.02466, allocations: 1.899 MB / 362.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.02899, allocations: 2.292 MB / 364.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.02913, allocations: 135 kB / 364.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.02916, allocations: 7.938 kB / 364.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.02924, allocations: 63.81 kB / 364.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.0293, allocations: 35.91 kB / 364.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.02931, allocations: 4 kB / 364.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008118/0.03743, allocations: 6.649 MB / 371.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.03745, allocations: 7.938 kB / 371.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.03752, allocations: 43.91 kB / 371.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.04413, allocations: 4.888 MB / 376.2 MB, free: 5.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.04413, allocations: 0 / 376.2 MB, free: 5.492 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.04414, allocations: 4 kB / 376.2 MB, free: 5.488 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.04414, allocations: 0 / 376.2 MB, free: 5.488 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.001599/0.04574, allocations: 0.9261 MB / 377.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.04578, allocations: 8.625 kB / 377.1 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.046, allocations: 64.78 kB / 377.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.04613, allocations: 148.4 kB / 377.3 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.04614, allocations: 8.562 kB / 377.3 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.04616, allocations: 12.38 kB / 377.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.04667, allocations: 313.1 kB / 377.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.04667, allocations: 3.938 kB / 377.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.04668, allocations: 8 kB / 377.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.04669, allocations: 0 / 377.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.04703, allocations: 207.7 kB / 377.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.04744, allocations: 486.8 kB / 378.3 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.04787, allocations: 261.9 kB / 378.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.04791, allocations: 47.38 kB / 378.6 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05115/0.09906, allocations: 30.85 MB / 409.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.0991, allocations: 33.39 kB / 409.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.063e-06/0.0991, allocations: 0 / 409.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009327/0.1, allocations: 389 kB / 409.9 MB, free: 3.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1001, allocations: 81.11 kB / 410 MB, free: 3.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.1002, allocations: 189.8 kB / 410.2 MB, free: 3.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1002, allocations: 29.7 kB / 410.2 MB, free: 3.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.1002, allocations: 150.7 kB / 410.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.1003, allocations: 51.58 kB / 410.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.1003, allocations: 63.27 kB / 410.5 MB, free: 2.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1004, allocations: 0.5 MB / 411 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.846e-05/0.1005, allocations: 55.94 kB / 411 MB, free: 2.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.1006, allocations: 98.62 kB / 411.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1008, allocations: 170.5 kB / 411.3 MB, free: 2.086 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1008, allocations: 4 kB / 411.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002747/0.101, allocations: 213.4 kB / 411.5 MB, free: 1.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.101, allocations: 6.812 kB / 411.5 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1011, allocations: 0 / 411.5 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1011, allocations: 4 kB / 411.5 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1012, allocations: 51.95 kB / 411.6 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1012, allocations: 8.766 kB / 411.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.1012, allocations: 11.89 kB / 411.6 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.1013, allocations: 27.86 kB / 411.6 MB, free: 1.762 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_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 (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.883e-05/0.1013, allocations: 168.6 kB / 411.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.1014, allocations: 11.95 kB / 411.8 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.1022, allocations: 1.184 MB / 413 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.1022, allocations: 11.98 kB / 413 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1022, allocations: 0 / 413 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1022, allocations: 0 / 413 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1114/0.2136, allocations: 0.5621 MB / 413.5 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2136, allocations: 1.984 kB / 413.5 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.2137, allocations: 34.03 kB / 413.6 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2138, allocations: 2.094 kB / 413.6 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2138, allocations: 5.891 kB / 413.6 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2138, allocations: 5.641 kB / 413.6 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2138, allocations: 3 kB / 413.6 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.2142, allocations: 0.5582 MB / 414.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.2142, allocations: 24.44 kB / 414.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.2142, allocations: 5.031 kB / 414.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.2143, allocations: 7.281 kB / 414.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.2143, allocations: 13.53 kB / 414.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2143, allocations: 3.453 kB / 414.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.086e-05/0.2144, allocations: 137.2 kB / 414.3 MB, free: 60.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2144, allocations: 3.562 kB / 414.3 MB, free: 60.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001988/0.2164, allocations: 0.9255 MB / 415.3 MB, free: 60.98 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.002629/0.219, allocations: 1.279 MB / 416.5 MB, free: 60.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.2192, allocations: 167 kB / 416.7 MB, free: 60.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2192, allocations: 1.203 kB / 416.7 MB, free: 60.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.2193, allocations: 92.67 kB / 416.8 MB, free: 60.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.2197, allocations: 65.66 kB / 416.9 MB, free: 60.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/0.2205, allocations: 0.5062 MB / 417.4 MB, free: 60.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.2205, allocations: 86.78 kB / 417.5 MB, free: 60.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.2208, allocations: 376.9 kB / 417.8 MB, free: 60.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.2209, allocations: 128.9 kB / 418 MB, free: 60.48 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2209, allocations: 0 / 418 MB, free: 60.48 MB / 330.7 MB Notification: Performance of Templates: time 0.03301/0.254, allocations: 39.66 MB / 457.6 MB, free: 30.5 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.229068399872631]