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.00143/0.00143, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001836/0.001836, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9421/0.9421, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.04841/0.04841, allocations: 7.518 MB / 267.5 MB, free: 6.016 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.843e-06/1.843e-06, allocations: 0 / 338.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.215e-05, allocations: 2.312 kB / 338.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01752/0.01756, allocations: 12.94 MB / 351.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008235/0.02579, allocations: 8.35 MB / 360 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.02588, allocations: 0 / 360 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.02609, allocations: 39.73 kB / 360 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003998/0.03008, allocations: 1.895 MB / 361.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005153/0.03524, allocations: 2.292 MB / 364.2 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.0354, allocations: 135 kB / 364.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.03543, allocations: 15.92 kB / 364.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.0355, allocations: 55.83 kB / 364.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.03557, allocations: 43.89 kB / 364.4 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.03558, allocations: 4 kB / 364.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008989/0.04457, allocations: 6.645 MB / 371.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.04459, allocations: 15.91 kB / 371.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.04467, allocations: 39.92 kB / 371.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007615/0.05228, allocations: 4.88 MB / 376 MB, free: 5.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.05229, allocations: 3.938 kB / 376 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.05229, allocations: 0 / 376 MB, free: 5.504 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.05229, allocations: 0 / 376 MB, free: 5.504 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.001792/0.05408, allocations: 0.9301 MB / 376.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.05412, allocations: 8.625 kB / 377 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.05438, allocations: 68.78 kB / 377 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.05452, allocations: 140.5 kB / 377.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.05453, allocations: 8.547 kB / 377.2 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.05456, allocations: 12.38 kB / 377.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.05513, allocations: 329.7 kB / 377.5 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.05514, allocations: 0 / 377.5 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.05515, allocations: 0 / 377.5 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.05516, allocations: 7.984 kB / 377.5 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003941/0.05555, allocations: 243.6 kB / 377.7 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.05603, allocations: 0.4944 MB / 378.2 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.05652, allocations: 273.9 kB / 378.5 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.05657, allocations: 51.39 kB / 378.6 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1828/0.2394, allocations: 35.04 MB / 413.6 MB, free: 62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.2395, allocations: 42.98 kB / 413.6 MB, free: 61.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.2395, allocations: 0 / 413.6 MB, free: 61.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001119/0.2406, allocations: 409.6 kB / 414 MB, free: 61.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2406, allocations: 79.3 kB / 414.1 MB, free: 61.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/0.2407, allocations: 192.4 kB / 414.3 MB, free: 61.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2407, allocations: 25.7 kB / 414.3 MB, free: 61.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.2408, allocations: 146 kB / 414.5 MB, free: 61.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.2408, allocations: 54.36 kB / 414.5 MB, free: 61.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.2409, allocations: 61.75 kB / 414.6 MB, free: 61.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.2409, allocations: 0.4953 MB / 415.1 MB, free: 60.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.241, allocations: 65.7 kB / 415.2 MB, free: 60.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.2411, allocations: 115.2 kB / 415.3 MB, free: 60.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.2413, allocations: 175.6 kB / 415.4 MB, free: 60.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2413, allocations: 0.9062 kB / 415.4 MB, free: 60.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002958/0.2416, allocations: 243.6 kB / 415.7 MB, free: 60.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2416, allocations: 4.812 kB / 415.7 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2416, allocations: 3.219 kB / 415.7 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2416, allocations: 3.75 kB / 415.7 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2418, allocations: 61.58 kB / 415.7 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2418, allocations: 1.75 kB / 415.7 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.004e-05/0.2418, allocations: 14.25 kB / 415.8 MB, free: 60.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.2419, allocations: 19.77 kB / 415.8 MB, free: 60.84 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 7.233e-05/0.2419, allocations: 165.5 kB / 415.9 MB, free: 60.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.242, allocations: 14.11 kB / 416 MB, free: 60.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008602/0.2429, allocations: 1.403 MB / 417.4 MB, free: 60.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.2429, allocations: 13.36 kB / 417.4 MB, free: 60.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2429, allocations: 0 / 417.4 MB, free: 60.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2429, allocations: 1.906 kB / 417.4 MB, free: 60.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.2432, allocations: 0.5877 MB / 418 MB, free: 60.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2432, allocations: 7.109 kB / 418 MB, free: 60.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2433, allocations: 37.38 kB / 418 MB, free: 60.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2433, allocations: 0 / 418 MB, free: 60.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2433, allocations: 3.062 kB / 418 MB, free: 60.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2433, allocations: 5.531 kB / 418 MB, free: 60.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2433, allocations: 0 / 418 MB, free: 60.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.2437, allocations: 0.5987 MB / 418.6 MB, free: 59.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.2437, allocations: 29.33 kB / 418.6 MB, free: 59.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.2438, allocations: 6.844 kB / 418.6 MB, free: 59.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.2438, allocations: 6.75 kB / 418.7 MB, free: 59.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.2439, allocations: 11.78 kB / 418.7 MB, free: 59.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2439, allocations: 4.094 kB / 418.7 MB, free: 59.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.901e-05/0.2439, allocations: 139.3 kB / 418.8 MB, free: 59.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2439, allocations: 0 / 418.8 MB, free: 59.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002106/0.246, allocations: 0.9208 MB / 419.7 MB, free: 59.79 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.002766/0.2488, allocations: 1.243 MB / 421 MB, free: 59.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.2491, allocations: 192.8 kB / 421.2 MB, free: 59.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2491, allocations: 0 / 421.2 MB, free: 59.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2492, allocations: 112.6 kB / 421.3 MB, free: 59.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2496, allocations: 66.05 kB / 421.3 MB, free: 59.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.2505, allocations: 0.524 MB / 421.9 MB, free: 59.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.002e-05/0.2506, allocations: 86.83 kB / 421.9 MB, free: 59.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000312/0.2509, allocations: 372.1 kB / 422.3 MB, free: 59.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.251, allocations: 37.7 kB / 422.3 MB, free: 59.32 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.251, allocations: 0 / 422.3 MB, free: 59.32 MB / 330.7 MB Notification: Performance of Templates: time 0.03418/0.2851, allocations: 40.84 MB / 463.2 MB, free: 25.87 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: 5.281616879161447]