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.00113/0.00113, allocations: 88.2 kB / 20.19 MB, free: 4.359 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.001235/0.001235, allocations: 173 kB / 23.49 MB, free: 1.055 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.9387/0.9387, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.03062/0.03062, allocations: 7.522 MB / 267.8 MB, free: 6.066 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.403e-06/1.403e-06, allocations: 0 / 338.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.983e-05, allocations: 2.312 kB / 338.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01285/0.01287, allocations: 12.92 MB / 351.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009639/0.02251, allocations: 8.335 MB / 359.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.02259, allocations: 0 / 359.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.02278, allocations: 47.73 kB / 360 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.02652, allocations: 1.892 MB / 361.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.03018, allocations: 2.28 MB / 364.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.03031, allocations: 135 kB / 364.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.03035, allocations: 11.92 kB / 364.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.03041, allocations: 59.83 kB / 364.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.03048, allocations: 39.89 kB / 364.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.03049, allocations: 4 kB / 364.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007711/0.0382, allocations: 6.637 MB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.03823, allocations: 19.91 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.03828, allocations: 35.92 kB / 371.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00589/0.04417, allocations: 4.884 MB / 376 MB, free: 5.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.04417, allocations: 0 / 376 MB, free: 5.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.04418, allocations: 4 kB / 376 MB, free: 5.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.04418, allocations: 0 / 376 MB, free: 5.895 MB / 298.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.001724/0.0459, allocations: 0.9301 MB / 376.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.04594, allocations: 12.56 kB / 376.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.04623, allocations: 64.8 kB / 377 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.04639, allocations: 144.5 kB / 377.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.0464, allocations: 8.562 kB / 377.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.04643, allocations: 12.36 kB / 377.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/0.04703, allocations: 337.5 kB / 377.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.04704, allocations: 0 / 377.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.04705, allocations: 4 kB / 377.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.04705, allocations: 0 / 377.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.04748, allocations: 243.6 kB / 377.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.04797, allocations: 0.4984 MB / 378.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.04849, allocations: 266 kB / 378.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.04855, allocations: 63.3 kB / 378.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05835/0.1069, allocations: 35.05 MB / 413.6 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1069, allocations: 37.39 kB / 413.6 MB, free: 40 kB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/0.1069, allocations: 0 / 413.6 MB, free: 40 kB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.1086/0.2155, allocations: 410.5 kB / 414 MB, free: 84.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2155, allocations: 78.36 kB / 414.1 MB, free: 84.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.2156, allocations: 187.8 kB / 414.3 MB, free: 84.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.2156, allocations: 25.7 kB / 414.3 MB, free: 84.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.2157, allocations: 148.1 kB / 414.4 MB, free: 84.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.2157, allocations: 54.78 kB / 414.5 MB, free: 84.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.2158, allocations: 66.47 kB / 414.6 MB, free: 84.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.194e-05/0.2158, allocations: 0.4927 MB / 415.1 MB, free: 83.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.992e-05/0.2159, allocations: 67.41 kB / 415.1 MB, free: 83.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.216, allocations: 111.8 kB / 415.2 MB, free: 83.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.2162, allocations: 177.5 kB / 415.4 MB, free: 83.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2162, allocations: 0.9375 kB / 415.4 MB, free: 83.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003258/0.2166, allocations: 250.5 kB / 415.7 MB, free: 83.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2166, allocations: 5.031 kB / 415.7 MB, free: 83.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2166, allocations: 4.531 kB / 415.7 MB, free: 83.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2166, allocations: 2.469 kB / 415.7 MB, free: 83.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2167, allocations: 51.61 kB / 415.7 MB, free: 83.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2167, allocations: 5.125 kB / 415.7 MB, free: 83.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.2168, allocations: 12.59 kB / 415.7 MB, free: 83.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2168, allocations: 15.8 kB / 415.7 MB, free: 83.52 MB / 330.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.788e-05/0.2169, allocations: 168.3 kB / 415.9 MB, free: 83.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.217, allocations: 20.91 kB / 415.9 MB, free: 83.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009674/0.2179, allocations: 1.401 MB / 417.3 MB, free: 83.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2179, allocations: 12.77 kB / 417.3 MB, free: 83.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2179, allocations: 1.375 kB / 417.3 MB, free: 83.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2179, allocations: 0 / 417.3 MB, free: 83.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.2183, allocations: 0.5923 MB / 417.9 MB, free: 82.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2183, allocations: 1.375 kB / 417.9 MB, free: 82.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.2184, allocations: 32.53 kB / 418 MB, free: 82.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2184, allocations: 5.312 kB / 418 MB, free: 82.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2184, allocations: 1.375 kB / 418 MB, free: 82.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2184, allocations: 1.375 kB / 418 MB, free: 82.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2184, allocations: 5.312 kB / 418 MB, free: 82.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.2189, allocations: 0.5982 MB / 418.6 MB, free: 82.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.2189, allocations: 23.05 kB / 418.6 MB, free: 82.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2189, allocations: 14.72 kB / 418.6 MB, free: 82.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.219, allocations: 8.172 kB / 418.6 MB, free: 82.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.219, allocations: 9.25 kB / 418.6 MB, free: 82.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.219, allocations: 7.719 kB / 418.6 MB, free: 82.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.2191, allocations: 142.3 kB / 418.8 MB, free: 82.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2191, allocations: 0 / 418.8 MB, free: 82.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001888/0.2209, allocations: 0.9262 MB / 419.7 MB, free: 82.16 MB / 330.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.002876/0.2238, allocations: 1.236 MB / 420.9 MB, free: 81.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.2241, allocations: 195.6 kB / 421.1 MB, free: 81.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2241, allocations: 0 / 421.1 MB, free: 81.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/0.2242, allocations: 104.8 kB / 421.2 MB, free: 81.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.2246, allocations: 71.33 kB / 421.3 MB, free: 81.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2256, allocations: 0.5152 MB / 421.8 MB, free: 81.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.378e-05/0.2257, allocations: 85.41 kB / 421.9 MB, free: 81.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.226, allocations: 376.4 kB / 422.3 MB, free: 81.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.2261, allocations: 33.47 kB / 422.3 MB, free: 81.38 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2261, allocations: 0 / 422.3 MB, free: 81.38 MB / 330.7 MB Notification: Performance of Templates: time 0.02696/0.253, allocations: 34.7 MB / 457 MB, free: 47.25 MB / 330.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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9628231727983803]