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.002274/0.002274, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002646/0.002646, allocations: 218.2 kB / 22.25 MB, free: 3.715 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 1.859/1.859, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 178] 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.09281/0.09281, allocations: 14.02 MB / 326.4 MB, free: 4.617 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 0.003882/0.003882, allocations: 67.78 kB / 453.9 MB, free: 33.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1609, allocations: 55.96 MB / 0.498 GB, free: 9.148 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.02132/0.1822, allocations: 11.85 MB / 0.5095 GB, free: 13.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1951, allocations: 7.517 MB / 0.5169 GB, free: 5.699 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1953, allocations: 4 kB / 0.5169 GB, free: 5.695 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1955, allocations: 31.75 kB / 0.5169 GB, free: 5.664 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.2021, allocations: 1.886 MB / 0.5188 GB, free: 3.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008761/0.2109, allocations: 2.246 MB / 0.5209 GB, free: 1.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.2112, allocations: 127.2 kB / 0.5211 GB, free: 1.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.363e-05/0.2113, allocations: 23.83 kB / 0.5211 GB, free: 1.387 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.2113, allocations: 39.88 kB / 0.5211 GB, free: 1.348 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.2115, allocations: 35.84 kB / 0.5212 GB, free: 1.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.2115, allocations: 4 kB / 0.5212 GB, free: 1.309 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0177/0.2292, allocations: 6.63 MB / 0.5276 GB, free: 10.67 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.2292, allocations: 11.92 kB / 0.5277 GB, free: 10.66 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.2294, allocations: 51.73 kB / 0.5277 GB, free: 10.61 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.2427, allocations: 3.785 MB / 0.5314 GB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.2427, allocations: 0 / 0.5314 GB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2427, allocations: 0 / 0.5314 GB, free: 6.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2427, allocations: 0 / 0.5314 GB, free: 6.816 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.003608/0.2463, allocations: 0.8302 MB / 0.5322 GB, free: 5.953 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.2464, allocations: 8.031 kB / 0.5322 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.2468, allocations: 40.86 kB / 0.5323 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.247, allocations: 154.3 kB / 0.5324 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2471, allocations: 8.562 kB / 0.5324 GB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.2471, allocations: 11.94 kB / 0.5324 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/0.248, allocations: 259.1 kB / 0.5327 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.248, allocations: 3.938 kB / 0.5327 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.248, allocations: 8 kB / 0.5327 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.248, allocations: 0 / 0.5327 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.2488, allocations: 215.8 kB / 0.5329 GB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.2496, allocations: 408.4 kB / 0.5333 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/0.2505, allocations: 225.1 kB / 0.5335 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2506, allocations: 53.69 kB / 0.5335 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5063/0.7569, allocations: 35.08 MB / 0.5678 GB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.7569, allocations: 34.55 kB / 0.5678 GB, free: 53.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.344e-06/0.7569, allocations: 0 / 0.5678 GB, free: 53.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.00158/0.7585, allocations: 371.6 kB / 0.5682 GB, free: 52.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.7585, allocations: 82.14 kB / 0.5683 GB, free: 52.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.7586, allocations: 123.5 kB / 0.5684 GB, free: 52.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.7587, allocations: 29.7 kB / 0.5684 GB, free: 52.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.7587, allocations: 96.41 kB / 0.5685 GB, free: 52.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.7588, allocations: 59.75 kB / 0.5686 GB, free: 52.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.7588, allocations: 57.67 kB / 0.5686 GB, free: 52.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.7589, allocations: 326.8 kB / 0.5689 GB, free: 52.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.759, allocations: 55.72 kB / 0.569 GB, free: 51.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.7592, allocations: 87.39 kB / 0.5691 GB, free: 51.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.7594, allocations: 145.7 kB / 0.5692 GB, free: 51.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7594, allocations: 1.094 kB / 0.5692 GB, free: 51.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004115/0.7598, allocations: 213.2 kB / 0.5694 GB, free: 51.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.7599, allocations: 10.03 kB / 0.5694 GB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7599, allocations: 3.75 kB / 0.5694 GB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.7599, allocations: 4.062 kB / 0.5694 GB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.7601, allocations: 55.95 kB / 0.5695 GB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7601, allocations: 3.938 kB / 0.5695 GB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.7602, allocations: 17.78 kB / 0.5695 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.7603, allocations: 19.98 kB / 0.5695 GB, free: 51.41 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 9.113e-05/0.7604, allocations: 117.8 kB / 0.5696 GB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.7604, allocations: 9.828 kB / 0.5696 GB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.762, allocations: 2.245 MB / 0.5718 GB, free: 49.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.762, allocations: 8.547 kB / 0.5718 GB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.762, allocations: 4 kB / 0.5718 GB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.7621, allocations: 3.984 kB / 0.5718 GB, free: 49.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.7628, allocations: 1.024 MB / 0.5728 GB, free: 47.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7628, allocations: 4 kB / 0.5728 GB, free: 47.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.763, allocations: 36.77 kB / 0.5729 GB, free: 47.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.763, allocations: 4 kB / 0.5729 GB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.763, allocations: 0 / 0.5729 GB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.763, allocations: 1.406 kB / 0.5729 GB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.763, allocations: 4 kB / 0.5729 GB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.7636, allocations: 0.6591 MB / 0.5735 GB, free: 47.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.7636, allocations: 24.45 kB / 0.5736 GB, free: 47.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.7636, allocations: 7.984 kB / 0.5736 GB, free: 47.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.7638, allocations: 6.734 kB / 0.5736 GB, free: 47.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.7638, allocations: 15.92 kB / 0.5736 GB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.7638, allocations: 4 kB / 0.5736 GB, free: 47.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.7639, allocations: 96.03 kB / 0.5737 GB, free: 47.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7639, allocations: 0 / 0.5737 GB, free: 47.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00274/0.7666, allocations: 0.9256 MB / 0.5746 GB, free: 46.25 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.003203/0.7698, allocations: 1.117 MB / 0.5757 GB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.7702, allocations: 208.9 kB / 0.5759 GB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7702, allocations: 0 / 0.5759 GB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.7704, allocations: 123.9 kB / 0.576 GB, free: 44.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.7709, allocations: 68.69 kB / 0.5761 GB, free: 44.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.7718, allocations: 0.5696 MB / 0.5766 GB, free: 44.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.7719, allocations: 125.1 kB / 0.5767 GB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003319/0.7722, allocations: 379.3 kB / 0.5771 GB, free: 43.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.7723, allocations: 39.41 kB / 0.5771 GB, free: 43.72 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7723, allocations: 3.938 kB / 0.5771 GB, free: 43.72 MB / 410.7 MB Notification: Performance of Templates: time 0.03681/0.8091, allocations: 33.94 MB / 0.6103 GB, free: 9.836 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.940746625885367]