Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.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.001022/0.001022, allocations: 79.7 kB / 20.86 MB, free: 3.602 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.001058/0.001058, allocations: 168.5 kB / 24.3 MB, free: 176 kB / 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.9785/0.9785, allocations: 177.2 MB / 204.7 MB, free: 5.383 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.04906/0.04906, allocations: 11.71 MB / 272.9 MB, free: 1.816 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.Validation.Derivatives.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 292.2 MB, free: 17.47 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.318e-05, allocations: 4.844 kB / 292.2 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.01098/0.01099, allocations: 12.99 MB / 305.2 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005777/0.01677, allocations: 8.324 MB / 313.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.01683, allocations: 0 / 313.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.01698, allocations: 36.09 kB / 313.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.02061, allocations: 1.676 MB / 315.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.02435, allocations: 2.087 MB / 317.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.02449, allocations: 143 kB / 317.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.02454, allocations: 4 kB / 317.5 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.628e-05/0.0246, allocations: 59.88 kB / 317.6 MB, free: 15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.02467, allocations: 35.91 kB / 317.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.02468, allocations: 4 kB / 317.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008939/0.03362, allocations: 7.124 MB / 324.7 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.03364, allocations: 11.86 kB / 324.7 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.03368, allocations: 43.86 kB / 324.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005997/0.03968, allocations: 4.888 MB / 329.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.03968, allocations: 0 / 329.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03969, allocations: 0 / 329.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.03969, allocations: 0 / 329.7 MB, free: 2.883 MB / 282.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.001795/0.04149, allocations: 0.8083 MB / 330.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.04153, allocations: 12.03 kB / 330.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.04178, allocations: 76.78 kB / 330.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.0419, allocations: 133.7 kB / 330.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.04191, allocations: 9.312 kB / 330.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.04193, allocations: 4.375 kB / 330.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.04243, allocations: 312 kB / 331 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.04244, allocations: 0 / 331 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.04245, allocations: 0 / 331 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.04246, allocations: 4 kB / 331 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.04279, allocations: 191.7 kB / 331.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.04315, allocations: 336.1 kB / 331.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.04357, allocations: 231.8 kB / 331.7 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.04361, allocations: 37.69 kB / 331.8 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3212/0.3648, allocations: 116.7 MB / 448.5 MB, free: 123.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3648, allocations: 37.27 kB / 448.5 MB, free: 123.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.274e-06/0.3648, allocations: 0 / 448.5 MB, free: 123.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001041/0.3658, allocations: 355.1 kB / 448.9 MB, free: 123.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.441e-05/0.3659, allocations: 83.69 kB / 449 MB, free: 123.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.3659, allocations: 136.6 kB / 449.1 MB, free: 123.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3659, allocations: 26.98 kB / 449.1 MB, free: 123.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.366, allocations: 93.25 kB / 449.2 MB, free: 123.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.366, allocations: 52.09 kB / 449.3 MB, free: 123.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.3661, allocations: 52.33 kB / 449.3 MB, free: 123.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.135e-05/0.3661, allocations: 324.4 kB / 449.6 MB, free: 122.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.3662, allocations: 46.2 kB / 449.7 MB, free: 122.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.3663, allocations: 76.12 kB / 449.7 MB, free: 122.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3664, allocations: 132.6 kB / 449.9 MB, free: 122.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3664, allocations: 4 kB / 449.9 MB, free: 122.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002139/0.3666, allocations: 156.6 kB / 450 MB, free: 122.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3667, allocations: 6 kB / 450 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3667, allocations: 0 / 450 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3667, allocations: 3.25 kB / 450 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3668, allocations: 56.89 kB / 450.1 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3668, allocations: 1.531 kB / 450.1 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.3669, allocations: 20.72 kB / 450.1 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3669, allocations: 9.828 kB / 450.1 MB, free: 122.8 MB / 394.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 6.426e-05/0.367, allocations: 126.5 kB / 450.3 MB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.367, allocations: 12.17 kB / 450.3 MB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.3681, allocations: 1.246 MB / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.3681, allocations: 1.938 kB / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3681, allocations: 0 / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.3681, allocations: 25.86 kB / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.3681, allocations: 5.312 kB / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3683, allocations: 17.64 kB / 451.6 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.3683, allocations: 9.297 kB / 451.6 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002893/0.3686, allocations: 462.7 kB / 452 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002972/0.3689, allocations: 0.5705 MB / 452.6 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.925e-05/0.3689, allocations: 74.27 kB / 452.7 MB, free: 121.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.909e-05/0.369, allocations: 27.64 kB / 452.7 MB, free: 121.8 MB / 394.7 MB Notification: Performance of Backend: time 2.2e-07/0.369, allocations: 0 / 452.7 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.3729, allocations: 1.641 MB / 454.3 MB, free: 121.7 MB / 394.7 MB Notification: Performance of SimCode: time 0.0008848/0.3737, allocations: 0.9099 MB / 455.2 MB, free: 121 MB / 394.7 MB Notification: Performance of Templates: time 0.04008/0.4138, allocations: 43.07 MB / 498.3 MB, free: 80.91 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.363448289223015]