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.0009948/0.0009948, allocations: 83.75 kB / 20.92 MB, free: 3.34 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.004057/0.004057, allocations: 166.9 kB / 24.36 MB, free: 8.559 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.9277/0.9277, allocations: 177.1 MB / 204.8 MB, free: 4.832 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.04581/0.04581, allocations: 11.71 MB / 273 MB, free: 1.656 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 3.116e-06/3.116e-06, allocations: 1.156 kB / 291.5 MB, free: 16.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.196e-05, allocations: 4.094 kB / 291.5 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.01249/0.01252, allocations: 12.99 MB / 304.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.01906, allocations: 8.319 MB / 312.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.01913, allocations: 4 kB / 312.8 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.01928, allocations: 39.69 kB / 312.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.02323, allocations: 1.671 MB / 314.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.02692, allocations: 2.089 MB / 316.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.02705, allocations: 139 kB / 316.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.02709, allocations: 7.984 kB / 316.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.02716, allocations: 59.83 kB / 316.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.02722, allocations: 35.89 kB / 316.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.02723, allocations: 4 kB / 316.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008528/0.03576, allocations: 7.119 MB / 324 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.03578, allocations: 11.92 kB / 324 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.03582, allocations: 39.92 kB / 324.1 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.04121, allocations: 4.892 MB / 328.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.04121, allocations: 0 / 328.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.04121, allocations: 4 kB / 328.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.04122, allocations: 0 / 328.9 MB, free: 3.305 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.001577/0.04279, allocations: 0.8044 MB / 329.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.04283, allocations: 12.03 kB / 329.8 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.04305, allocations: 72.8 kB / 329.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.04316, allocations: 138.6 kB / 330 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.04317, allocations: 8.562 kB / 330 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.04319, allocations: 12.38 kB / 330 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.04365, allocations: 300 kB / 330.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.04366, allocations: 0 / 330.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.04367, allocations: 8 kB / 330.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.04368, allocations: 4 kB / 330.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.04398, allocations: 183.8 kB / 330.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.0446, allocations: 348 kB / 330.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.04499, allocations: 232.6 kB / 331 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.04502, allocations: 33.7 kB / 331.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3158/0.3608, allocations: 116.7 MB / 447.8 MB, free: 123.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.3609, allocations: 35.03 kB / 447.8 MB, free: 123.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.265e-06/0.3609, allocations: 0 / 447.8 MB, free: 123.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001068/0.362, allocations: 364.9 kB / 448.2 MB, free: 123.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.362, allocations: 79.05 kB / 448.3 MB, free: 123.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.362, allocations: 127.4 kB / 448.4 MB, free: 123.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3621, allocations: 29.73 kB / 448.4 MB, free: 123 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.3621, allocations: 97.31 kB / 448.5 MB, free: 122.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.3621, allocations: 52.31 kB / 448.5 MB, free: 122.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.3622, allocations: 51.33 kB / 448.6 MB, free: 122.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.3622, allocations: 326.5 kB / 448.9 MB, free: 122.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.3623, allocations: 43.83 kB / 449 MB, free: 122.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.3624, allocations: 75.25 kB / 449 MB, free: 122.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.3625, allocations: 140.8 kB / 449.2 MB, free: 122.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3625, allocations: 1.469 kB / 449.2 MB, free: 122.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002213/0.3628, allocations: 155.8 kB / 449.3 MB, free: 122.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3628, allocations: 5.375 kB / 449.3 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.3628, allocations: 0.9688 kB / 449.3 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3628, allocations: 1.656 kB / 449.3 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.363, allocations: 55.38 kB / 449.4 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.363, allocations: 11.27 kB / 449.4 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.363, allocations: 10.02 kB / 449.4 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.3631, allocations: 14.67 kB / 449.4 MB, free: 122.5 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.508e-05/0.3631, allocations: 123 kB / 449.5 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.3632, allocations: 10.53 kB / 449.6 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.3642, allocations: 1.245 MB / 450.8 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3643, allocations: 9.328 kB / 450.8 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3643, allocations: 3.062 kB / 450.8 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3643, allocations: 1.25 kB / 450.8 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.3647, allocations: 412.5 kB / 451.2 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3647, allocations: 5.266 kB / 451.2 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.3648, allocations: 36.27 kB / 451.3 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3648, allocations: 0.9688 kB / 451.3 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3648, allocations: 1.031 kB / 451.3 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3648, allocations: 1.938 kB / 451.3 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3648, allocations: 0 / 451.3 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.3652, allocations: 0.5261 MB / 451.8 MB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.3652, allocations: 29.55 kB / 451.8 MB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3652, allocations: 1.625 kB / 451.8 MB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3653, allocations: 5.125 kB / 451.8 MB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.3653, allocations: 13.86 kB / 451.8 MB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3653, allocations: 3.031 kB / 451.8 MB, free: 121.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.094e-05/0.3654, allocations: 24.05 kB / 451.9 MB, free: 121.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3654, allocations: 0 / 451.9 MB, free: 121.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001805/0.3672, allocations: 0.9258 MB / 452.8 MB, free: 121.7 MB / 394.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.002651/0.3698, allocations: 1.325 MB / 454.1 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.37, allocations: 140.6 kB / 454.2 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.37, allocations: 0 / 454.2 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.3701, allocations: 86.88 kB / 454.3 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3705, allocations: 68.17 kB / 454.4 MB, free: 121.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.3713, allocations: 0.524 MB / 454.9 MB, free: 121.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.162e-05/0.3714, allocations: 120.1 kB / 455 MB, free: 121.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.3715, allocations: 95.41 kB / 455.1 MB, free: 121.1 MB / 394.7 MB Notification: Performance of SimCode: time 6.72e-07/0.3715, allocations: 0 / 455.1 MB, free: 121.1 MB / 394.7 MB Notification: Performance of Templates: time 0.01609/0.3876, allocations: 18.94 MB / 474.1 MB, free: 104.7 MB / 394.7 MB " [Timeout remaining time 659] 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 > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.666207514703274]