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.001242/0.001242, allocations: 80.88 kB / 20.8 MB, free: 3.656 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.001425/0.001425, allocations: 169 kB / 24.22 MB, free: 244 kB / 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.8871/0.8871, allocations: 177.1 MB / 204.7 MB, free: 5.449 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.04463/0.04463, allocations: 11.4 MB / 272.6 MB, free: 2.184 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 1.673e-06/1.673e-06, allocations: 0 / 291.7 MB, free: 17.72 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.433e-05, allocations: 2.312 kB / 291.7 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.01087/0.01088, allocations: 12.98 MB / 304.7 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.0165, allocations: 8.321 MB / 313.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.01657, allocations: 1.281 kB / 313.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.01672, allocations: 42.7 kB / 313.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.02061, allocations: 1.676 MB / 314.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.02461, allocations: 2.087 MB / 316.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.02475, allocations: 139 kB / 317 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.02478, allocations: 4 kB / 317 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.02486, allocations: 59.88 kB / 317.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.02493, allocations: 39.83 kB / 317.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.02494, allocations: 4 kB / 317.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008975/0.03392, allocations: 7.123 MB / 324.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.03394, allocations: 15.92 kB / 324.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.03399, allocations: 35.91 kB / 324.3 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005853/0.03984, allocations: 4.884 MB / 329.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.03984, allocations: 0 / 329.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03984, allocations: 0 / 329.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.03985, allocations: 4 kB / 329.2 MB, free: 3.652 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.001507/0.04136, allocations: 0.8165 MB / 330 MB, free: 2.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.04139, allocations: 8.031 kB / 330 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.04162, allocations: 74.88 kB / 330.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.04175, allocations: 137.6 kB / 330.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.04176, allocations: 9.078 kB / 330.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.04178, allocations: 12.36 kB / 330.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.04226, allocations: 300.1 kB / 330.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.04226, allocations: 0 / 330.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.04227, allocations: 0.5156 kB / 330.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.04228, allocations: 8 kB / 330.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.0426, allocations: 196.7 kB / 330.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.04295, allocations: 332.1 kB / 331 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.04337, allocations: 233.5 kB / 331.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.04341, allocations: 33.7 kB / 331.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3133/0.3567, allocations: 116.7 MB / 448 MB, free: 123.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.3567, allocations: 36.53 kB / 448 MB, free: 123.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.344e-06/0.3567, allocations: 0 / 448 MB, free: 123.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008537/0.3576, allocations: 356.8 kB / 448.4 MB, free: 123.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.3576, allocations: 84.38 kB / 448.5 MB, free: 123.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.3576, allocations: 136.3 kB / 448.6 MB, free: 123.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3577, allocations: 26.64 kB / 448.6 MB, free: 123.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.3577, allocations: 100.2 kB / 448.7 MB, free: 123.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3577, allocations: 49.83 kB / 448.8 MB, free: 123.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.3578, allocations: 53.56 kB / 448.8 MB, free: 123.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.212e-05/0.3578, allocations: 323.8 kB / 449.1 MB, free: 123 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.3579, allocations: 48.2 kB / 449.2 MB, free: 123 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.3579, allocations: 74.14 kB / 449.3 MB, free: 123 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.358, allocations: 134.8 kB / 449.4 MB, free: 122.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.358, allocations: 4 kB / 449.4 MB, free: 122.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001796/0.3582, allocations: 158.2 kB / 449.5 MB, free: 122.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3582, allocations: 5.781 kB / 449.5 MB, free: 122.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3582, allocations: 0 / 449.5 MB, free: 122.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3583, allocations: 2.438 kB / 449.6 MB, free: 122.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3584, allocations: 53.86 kB / 449.6 MB, free: 122.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3584, allocations: 8.969 kB / 449.6 MB, free: 122.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.3584, allocations: 10.69 kB / 449.6 MB, free: 122.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3585, allocations: 12.17 kB / 449.6 MB, free: 122.9 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 5.493e-05/0.3585, allocations: 120.8 kB / 449.8 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.3586, allocations: 14.39 kB / 449.8 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008643/0.3594, allocations: 1.247 MB / 451 MB, free: 122.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3594, allocations: 11.31 kB / 451 MB, free: 122.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3594, allocations: 1.781 kB / 451 MB, free: 122.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3594, allocations: 1 kB / 451 MB, free: 122.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.3598, allocations: 416.5 kB / 451.4 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3598, allocations: 1.719 kB / 451.4 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3599, allocations: 34.12 kB / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3599, allocations: 5.875 kB / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3599, allocations: 2.391 kB / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3599, allocations: 1.062 kB / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3599, allocations: 4.562 kB / 451.5 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3602, allocations: 0.5235 MB / 452 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.3602, allocations: 24.02 kB / 452 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3602, allocations: 10.36 kB / 452 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.3603, allocations: 1.969 kB / 452 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.3603, allocations: 10.48 kB / 452.1 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3603, allocations: 4.344 kB / 452.1 MB, free: 122.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.883e-05/0.3603, allocations: 18.77 kB / 452.1 MB, free: 122.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3603, allocations: 4.031 kB / 452.1 MB, free: 122.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001665/0.362, allocations: 0.9302 MB / 453 MB, free: 122.1 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.002286/0.3643, allocations: 1.313 MB / 454.3 MB, free: 122 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3645, allocations: 147.6 kB / 454.5 MB, free: 122 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.3645, allocations: 3.469 kB / 454.5 MB, free: 122 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/0.3645, allocations: 84.31 kB / 454.6 MB, free: 122 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.3648, allocations: 73.02 kB / 454.6 MB, free: 122 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.3655, allocations: 0.4903 MB / 455.1 MB, free: 121.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.706e-05/0.3656, allocations: 82.62 kB / 455.2 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.3658, allocations: 372 kB / 455.6 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3659, allocations: 96.36 kB / 455.7 MB, free: 121.6 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3659, allocations: 1.422 kB / 455.7 MB, free: 121.6 MB / 394.7 MB Notification: Performance of Templates: time 0.02827/0.3942, allocations: 38.83 MB / 494.5 MB, free: 85.3 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.2335769748315215]