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.001053/0.001053, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001902/0.001902, allocations: 177 kB / 23.36 MB, free: 1.137 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.9883/0.9883, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.03/0.03, allocations: 7.516 MB / 267.8 MB, free: 5.887 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.993e-06/1.993e-06, allocations: 4 kB / 285.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.398e-05, allocations: 6.25 kB / 285.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.1288/0.1288, allocations: 12.96 MB / 298.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007348/0.1362, allocations: 8.322 MB / 307.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1363, allocations: 1.375 kB / 307.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1365, allocations: 42.61 kB / 307.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004947/0.1414, allocations: 1.676 MB / 308.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005615/0.1471, allocations: 2.096 MB / 311 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1472, allocations: 135.1 kB / 311.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.1473, allocations: 2.719 kB / 311.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.1474, allocations: 64.64 kB / 311.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.1475, allocations: 29.86 kB / 311.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1475, allocations: 2.594 kB / 311.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009955/0.1574, allocations: 7.125 MB / 318.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.1574, allocations: 19.84 kB / 318.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.1575, allocations: 27.94 kB / 318.4 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009662/0.1672, allocations: 4.892 MB / 323.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.1672, allocations: 0 / 323.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1672, allocations: 0 / 323.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1672, allocations: 0 / 323.3 MB, free: 11.62 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.001982/0.1692, allocations: 0.8129 MB / 324.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1692, allocations: 16.56 kB / 324.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.1695, allocations: 76.78 kB / 324.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1697, allocations: 131.5 kB / 324.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1697, allocations: 14.14 kB / 324.3 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1697, allocations: 8.375 kB / 324.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.1702, allocations: 309.4 kB / 324.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1702, allocations: 0 / 324.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1702, allocations: 0 / 324.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1702, allocations: 4 kB / 324.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.1706, allocations: 191.7 kB / 324.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.171, allocations: 336.1 kB / 325.2 MB, free: 9.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.1714, allocations: 233.5 kB / 325.4 MB, free: 9.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.1715, allocations: 29.7 kB / 325.4 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3448/0.5163, allocations: 116.7 MB / 442.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.5163, allocations: 38.38 kB / 442.2 MB, free: 112.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.953e-06/0.5163, allocations: 0 / 442.2 MB, free: 112.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008538/0.5172, allocations: 351.8 kB / 442.5 MB, free: 111.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.5172, allocations: 81 kB / 442.6 MB, free: 111.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.5173, allocations: 124.6 kB / 442.7 MB, free: 111.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.5173, allocations: 29.45 kB / 442.7 MB, free: 111.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.5173, allocations: 98.47 kB / 442.8 MB, free: 111.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.5173, allocations: 55.81 kB / 442.9 MB, free: 111.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.5174, allocations: 52.56 kB / 442.9 MB, free: 111.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.222e-05/0.5174, allocations: 320.6 kB / 443.3 MB, free: 111.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.5175, allocations: 50.25 kB / 443.3 MB, free: 111.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.99e-05/0.5175, allocations: 74.17 kB / 443.4 MB, free: 111.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.5176, allocations: 138.3 kB / 443.5 MB, free: 111 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5176, allocations: 0 / 443.5 MB, free: 111 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001593/0.5178, allocations: 159.8 kB / 443.7 MB, free: 110.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5178, allocations: 12.06 kB / 443.7 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5178, allocations: 3.391 kB / 443.7 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5178, allocations: 0 / 443.7 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.518, allocations: 57.28 kB / 443.7 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.518, allocations: 7.031 kB / 443.8 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.518, allocations: 15.14 kB / 443.8 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.518, allocations: 12.88 kB / 443.8 MB, free: 110.9 MB / 378.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 5.76e-05/0.5181, allocations: 114.4 kB / 443.9 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.5181, allocations: 10.41 kB / 443.9 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.5187, allocations: 1.254 MB / 445.2 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.5188, allocations: 6.391 kB / 445.2 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.5188, allocations: 0.75 kB / 445.2 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5188, allocations: 0.7969 kB / 445.2 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.519, allocations: 409.2 kB / 445.6 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5191, allocations: 4 kB / 445.6 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.5192, allocations: 37.36 kB / 445.6 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5192, allocations: 0 / 445.6 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.5192, allocations: 4.312 kB / 445.6 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5192, allocations: 4 kB / 445.6 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5192, allocations: 4 kB / 445.6 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.5194, allocations: 0.52 MB / 446.1 MB, free: 108.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.5195, allocations: 31.78 kB / 446.2 MB, free: 108.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.5195, allocations: 4 kB / 446.2 MB, free: 108.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.5195, allocations: 6.422 kB / 446.2 MB, free: 108.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.5196, allocations: 9.625 kB / 446.2 MB, free: 108.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.5196, allocations: 0 / 446.2 MB, free: 108.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.739e-05/0.5196, allocations: 28.77 kB / 446.2 MB, free: 108.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5196, allocations: 0 / 446.2 MB, free: 108.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001562/0.5211, allocations: 0.9273 MB / 447.1 MB, free: 108 MB / 378.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.002442/0.5236, allocations: 1.318 MB / 448.5 MB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.5238, allocations: 150.1 kB / 448.6 MB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5238, allocations: 0 / 448.6 MB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/0.5239, allocations: 80.02 kB / 448.7 MB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.5242, allocations: 69.23 kB / 448.8 MB, free: 106.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000752/0.5249, allocations: 498 kB / 449.2 MB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.525, allocations: 83.59 kB / 449.3 MB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.5252, allocations: 382.7 kB / 449.7 MB, free: 106 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.5253, allocations: 98.27 kB / 449.8 MB, free: 105.9 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5253, allocations: 0 / 449.8 MB, free: 105.9 MB / 378.7 MB Notification: Performance of Templates: time 0.03162/0.557, allocations: 38.84 MB / 488.6 MB, free: 67.58 MB / 378.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.429083300754428]