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.0008299/0.0008299, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007959/0.0007959, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8484/0.8484, allocations: 177.2 MB / 203.5 MB, free: 5.742 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.02763/0.02763, allocations: 7.519 MB / 267.5 MB, free: 6.199 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.152e-06/1.152e-06, allocations: 0 / 393 MB, free: 5.859 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.66e-05, allocations: 6.219 kB / 393 MB, free: 5.852 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01003/0.01005, allocations: 11.84 MB / 404.9 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00566/0.01571, allocations: 7.513 MB / 412.4 MB, free: 2.422 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.01577, allocations: 4 kB / 412.4 MB, free: 2.418 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.01591, allocations: 43.67 kB / 412.4 MB, free: 2.375 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.01875, allocations: 1.896 MB / 414.3 MB, free: 496 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.02208, allocations: 2.286 MB / 416.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.02219, allocations: 131 kB / 416.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.02223, allocations: 15.97 kB / 416.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.878e-05/0.02229, allocations: 55.81 kB / 416.8 MB, free: 14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.02236, allocations: 39.91 kB / 416.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.02237, allocations: 4 kB / 416.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006448/0.02882, allocations: 6.645 MB / 423.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.02883, allocations: 11.94 kB / 423.5 MB, free: 7.289 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.02887, allocations: 35.91 kB / 423.5 MB, free: 7.254 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003963/0.03283, allocations: 4.88 MB / 428.4 MB, free: 2.363 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.03284, allocations: 3.984 kB / 428.4 MB, free: 2.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.03284, allocations: 4 kB / 428.4 MB, free: 2.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.03284, allocations: 0 / 428.4 MB, free: 2.355 MB / 394.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.001096/0.03394, allocations: 0.8302 MB / 429.3 MB, free: 1.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.03397, allocations: 12.62 kB / 429.3 MB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.03415, allocations: 44.84 kB / 429.3 MB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.03429, allocations: 145.6 kB / 429.5 MB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.0343, allocations: 8.562 kB / 429.5 MB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.03432, allocations: 8.375 kB / 429.5 MB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.03478, allocations: 263.5 kB / 429.7 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.03478, allocations: 0 / 429.7 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.0348, allocations: 8 kB / 429.7 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.0348, allocations: 4 kB / 429.7 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.03518, allocations: 215.7 kB / 429.9 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.03558, allocations: 396.3 kB / 430.3 MB, free: 348 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.03603, allocations: 233 kB / 430.6 MB, free: 96 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.03609, allocations: 57.69 kB / 430.6 MB, free: 32 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1854/0.2215, allocations: 35.07 MB / 465.7 MB, free: 89.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.2215, allocations: 33.94 kB / 465.7 MB, free: 89.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/0.2215, allocations: 3.438 kB / 465.7 MB, free: 89.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009178/0.2224, allocations: 362.7 kB / 466.1 MB, free: 89.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.2224, allocations: 80.14 kB / 466.2 MB, free: 89.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.2225, allocations: 127 kB / 466.3 MB, free: 89.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2225, allocations: 37.53 kB / 466.3 MB, free: 89.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.2225, allocations: 97.05 kB / 466.4 MB, free: 89.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.2226, allocations: 55.58 kB / 466.5 MB, free: 89.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.2226, allocations: 57.44 kB / 466.5 MB, free: 89.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.934e-05/0.2227, allocations: 321.2 kB / 466.8 MB, free: 88.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.2227, allocations: 62.3 kB / 466.9 MB, free: 88.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.2228, allocations: 87.7 kB / 467 MB, free: 88.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.223, allocations: 144.1 kB / 467.1 MB, free: 88.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.223, allocations: 3.062 kB / 467.1 MB, free: 88.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000276/0.2233, allocations: 220.8 kB / 467.3 MB, free: 88.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2233, allocations: 3.094 kB / 467.3 MB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2233, allocations: 2.75 kB / 467.3 MB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2233, allocations: 0 / 467.3 MB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2234, allocations: 64.34 kB / 467.4 MB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.2234, allocations: 3.75 kB / 467.4 MB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.2235, allocations: 12.02 kB / 467.4 MB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.2235, allocations: 16.44 kB / 467.4 MB, free: 88.47 MB / 410.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 6.026e-05/0.2236, allocations: 121.8 kB / 467.6 MB, free: 88.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.2236, allocations: 17.53 kB / 467.6 MB, free: 88.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.2247, allocations: 2.238 MB / 469.8 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.2247, allocations: 9.922 kB / 469.8 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2247, allocations: 0.5625 kB / 469.8 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2247, allocations: 6.891 kB / 469.8 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.2253, allocations: 1.018 MB / 470.8 MB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2253, allocations: 0 / 470.8 MB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2255, allocations: 35.44 kB / 470.9 MB, free: 86.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2255, allocations: 1.375 kB / 470.9 MB, free: 86.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2255, allocations: 3.453 kB / 470.9 MB, free: 86.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2255, allocations: 5.375 kB / 470.9 MB, free: 86.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2255, allocations: 1.375 kB / 470.9 MB, free: 86.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.226, allocations: 0.6655 MB / 471.6 MB, free: 86.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.226, allocations: 21.92 kB / 471.6 MB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.226, allocations: 5.719 kB / 471.6 MB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.2261, allocations: 1.188 kB / 471.6 MB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.2261, allocations: 17.7 kB / 471.6 MB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2261, allocations: 4.062 kB / 471.6 MB, free: 86.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.2261, allocations: 101.8 kB / 471.7 MB, free: 86.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2261, allocations: 0 / 471.7 MB, free: 86.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001776/0.2279, allocations: 0.9224 MB / 472.6 MB, free: 86.15 MB / 410.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.002461/0.2304, allocations: 1.252 MB / 473.9 MB, free: 85.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.2306, allocations: 212.1 kB / 474.1 MB, free: 85.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2306, allocations: 1.062 kB / 474.1 MB, free: 85.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2308, allocations: 125.6 kB / 474.2 MB, free: 85.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2311, allocations: 63.23 kB / 474.3 MB, free: 85.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.2317, allocations: 0.5501 MB / 474.8 MB, free: 85.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.171e-05/0.2318, allocations: 123 kB / 474.9 MB, free: 85.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.2319, allocations: 35.95 kB / 475 MB, free: 85.31 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2319, allocations: 0 / 475 MB, free: 85.31 MB / 410.7 MB Notification: Performance of Templates: time 0.0176/0.2495, allocations: 18.95 MB / 493.9 MB, free: 75.2 MB / 410.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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.711722498759627] Failed to read output from testmodel.py, exit status != 0: 0.2544080801308155 0.25986791400000003 0.225804736 Calling exit ...