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.001/0.001, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002411, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008197/0.0008197, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009063/0.001726, allocations: 463.6 kB / 11.69 MB, free: 2.484 MB / 13.93 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.9081/0.9081, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09081/0.9989, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.05297/0.05297, allocations: 11.7 MB / 255.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007545/0.06051, allocations: 3.085 MB / 258.8 MB, free: 0.8281 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.563e-06/1.563e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.407e-05, allocations: 2.312 kB / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.01579/0.01582, allocations: 13.04 MB / 273.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.112/0.1278, allocations: 8.348 MB / 281.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.1279, allocations: 2.25 kB / 281.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.128, allocations: 37.61 kB / 281.5 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.132, allocations: 1.667 MB / 283.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.1366, allocations: 2.094 MB / 285.3 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1367, allocations: 142.6 kB / 285.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.1367, allocations: 10.02 kB / 285.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.1368, allocations: 69.97 kB / 285.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.1369, allocations: 36.89 kB / 285.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1369, allocations: 3.438 kB / 285.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009219/0.1461, allocations: 7.129 MB / 292.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.1462, allocations: 10.38 kB / 292.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1462, allocations: 34.31 kB / 292.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004764/0.151, allocations: 3.695 MB / 296.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.151, allocations: 0 / 296.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.151, allocations: 0 / 296.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.151, allocations: 0 / 296.4 MB, free: 14.35 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.001819/0.1528, allocations: 1.146 MB / 297.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.1528, allocations: 8.031 kB / 297.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.1531, allocations: 72.81 kB / 297.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1532, allocations: 133.7 kB / 297.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1532, allocations: 5.812 kB / 297.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1532, allocations: 16.31 kB / 297.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.1537, allocations: 302.4 kB / 298 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1537, allocations: 0.5312 kB / 298 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1537, allocations: 12 kB / 298.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1537, allocations: 0 / 298.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.154, allocations: 197 kB / 298.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.1544, allocations: 347.4 kB / 298.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.1548, allocations: 224.8 kB / 298.8 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.1548, allocations: 40.67 kB / 298.9 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1896/0.3444, allocations: 116.7 MB / 415.6 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.3444, allocations: 34.56 kB / 415.6 MB, free: 7.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.517e-06/0.3444, allocations: 4 kB / 415.6 MB, free: 7.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008158/0.3452, allocations: 368.7 kB / 416 MB, free: 6.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.3453, allocations: 81.11 kB / 416 MB, free: 6.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.3454, allocations: 127.4 kB / 416.2 MB, free: 6.574 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3454, allocations: 25.7 kB / 416.2 MB, free: 6.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.3454, allocations: 102.3 kB / 416.3 MB, free: 6.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.3454, allocations: 50.11 kB / 416.3 MB, free: 6.395 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.3455, allocations: 50.98 kB / 416.4 MB, free: 6.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.3456, allocations: 322.8 kB / 416.7 MB, free: 6.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.3456, allocations: 43.95 kB / 416.7 MB, free: 5.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.3457, allocations: 79.98 kB / 416.8 MB, free: 5.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.3458, allocations: 135.9 kB / 417 MB, free: 5.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3458, allocations: 4 kB / 417 MB, free: 5.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001731/0.346, allocations: 154.4 kB / 417.1 MB, free: 5.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.346, allocations: 4 kB / 417.1 MB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.346, allocations: 7.312 kB / 417.1 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.346, allocations: 0 / 417.1 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3462, allocations: 75.84 kB / 417.2 MB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.3462, allocations: 0 / 417.2 MB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.3462, allocations: 12.02 kB / 417.2 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3462, allocations: 11.98 kB / 417.2 MB, free: 5.492 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 7.646e-05/0.3463, allocations: 125.7 kB / 417.3 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.3464, allocations: 17.34 kB / 417.4 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007672/0.3471, allocations: 1.239 MB / 418.6 MB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.3471, allocations: 11.98 kB / 418.6 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3471, allocations: 0 / 418.6 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3471, allocations: 3.984 kB / 418.6 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.3475, allocations: 409.2 kB / 419 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3475, allocations: 4 kB / 419 MB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3476, allocations: 35.95 kB / 419.1 MB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.3476, allocations: 30.44 kB / 419.1 MB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3476, allocations: 0 / 419.1 MB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3476, allocations: 4 kB / 419.1 MB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3476, allocations: 3.938 kB / 419.1 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3476, allocations: 0 / 419.1 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.3479, allocations: 0.5284 MB / 419.6 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.348, allocations: 0 / 419.6 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.348, allocations: 4 kB / 419.6 MB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.348, allocations: 14.83 kB / 419.6 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3481, allocations: 4 kB / 419.6 MB, free: 3.051 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.069e-05/0.3481, allocations: 21.61 kB / 419.7 MB, free: 3.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3481, allocations: 4 kB / 419.7 MB, free: 3.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001619/0.3497, allocations: 0.9278 MB / 420.6 MB, free: 2.094 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.00233/0.352, allocations: 1.325 MB / 421.9 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.3522, allocations: 157.3 kB / 422.1 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3522, allocations: 0 / 422.1 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.3523, allocations: 85.86 kB / 422.2 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3526, allocations: 77.06 kB / 422.2 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.3552, allocations: 485.8 kB / 422.7 MB, free: 60 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09372/0.4489, allocations: 81.45 kB / 422.8 MB, free: 124.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003316/0.4493, allocations: 370.8 kB / 423.1 MB, free: 124.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.4494, allocations: 98.09 kB / 423.2 MB, free: 124.7 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4494, allocations: 2.469 kB / 423.2 MB, free: 124.7 MB / 394.7 MB Notification: Performance of Templates: time 0.02926/0.4787, allocations: 38.92 MB / 462.2 MB, free: 96.87 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.070454073138535]