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.0008969/0.0008969, allocations: 79.75 kB / 20.12 MB, free: 4.152 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.0009159/0.0009159, allocations: 160.5 kB / 23.55 MB, free: 0.7188 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.9439/0.9439, allocations: 177.1 MB / 204 MB, free: 5.418 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.0557/0.0557, allocations: 11.72 MB / 272.2 MB, free: 1.816 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.352e-06/1.352e-06, allocations: 0 / 291.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.097e-05, allocations: 4.016 kB / 291.6 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.01016/0.01017, allocations: 12.99 MB / 304.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005413/0.01558, allocations: 8.324 MB / 312.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.01564, allocations: 0 / 312.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.01576, allocations: 35.69 kB / 312.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.019, allocations: 1.668 MB / 314.6 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.02273, allocations: 2.098 MB / 316.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.02285, allocations: 135 kB / 316.8 MB, free: 15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.02288, allocations: 4 kB / 316.8 MB, free: 15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.02295, allocations: 63.81 kB / 316.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.02301, allocations: 35.91 kB / 316.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.02302, allocations: 0 / 316.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00868/0.0317, allocations: 7.122 MB / 324.1 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.03171, allocations: 11.94 kB / 324.1 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.03175, allocations: 47.84 kB / 324.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005039/0.03679, allocations: 4.888 MB / 329 MB, free: 2.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.03679, allocations: 0 / 329 MB, free: 2.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.03679, allocations: 0 / 329 MB, free: 2.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.0368, allocations: 0 / 329 MB, free: 2.82 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.001374/0.03817, allocations: 0.8083 MB / 329.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.0382, allocations: 8.031 kB / 329.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.03841, allocations: 72.8 kB / 329.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.03852, allocations: 137.6 kB / 330 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.03853, allocations: 8.562 kB / 330 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.03854, allocations: 12.38 kB / 330 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.03905, allocations: 308.2 kB / 330.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-06/0.03905, allocations: 0 / 330.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.03906, allocations: 8 kB / 330.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-06/0.03906, allocations: 0 / 330.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.03937, allocations: 196.5 kB / 330.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.03964, allocations: 336.1 kB / 330.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.04001, allocations: 230 kB / 331.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.04004, allocations: 47.33 kB / 331.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3026/0.3427, allocations: 116.7 MB / 447.8 MB, free: 123.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3427, allocations: 41.31 kB / 447.9 MB, free: 123.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.3427, allocations: 0 / 447.9 MB, free: 123.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008338/0.3435, allocations: 358.3 kB / 448.2 MB, free: 123.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.3436, allocations: 79.36 kB / 448.3 MB, free: 123.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.521e-05/0.3436, allocations: 126.4 kB / 448.4 MB, free: 123.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.3436, allocations: 30.42 kB / 448.5 MB, free: 123.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.3436, allocations: 101.4 kB / 448.6 MB, free: 123.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.3437, allocations: 54.67 kB / 448.6 MB, free: 123.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.3437, allocations: 48.56 kB / 448.7 MB, free: 123.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.879e-05/0.3438, allocations: 324.9 kB / 449 MB, free: 122.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.3438, allocations: 51.75 kB / 449 MB, free: 122.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.3439, allocations: 73.75 kB / 449.1 MB, free: 122.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.344, allocations: 136 kB / 449.2 MB, free: 122.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.344, allocations: 0 / 449.2 MB, free: 122.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001717/0.3442, allocations: 159.9 kB / 449.4 MB, free: 122.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3442, allocations: 7.031 kB / 449.4 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3442, allocations: 0.9688 kB / 449.4 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.3442, allocations: 2.281 kB / 449.4 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3443, allocations: 61.69 kB / 449.5 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.3443, allocations: 6.5 kB / 449.5 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.3444, allocations: 11.45 kB / 449.5 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3444, allocations: 10.41 kB / 449.5 MB, free: 122.8 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.529e-05/0.3445, allocations: 116.6 kB / 449.6 MB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.3445, allocations: 13.91 kB / 449.6 MB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/0.3454, allocations: 1.243 MB / 450.9 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3454, allocations: 10.23 kB / 450.9 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3454, allocations: 1.125 kB / 450.9 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3454, allocations: 8.531 kB / 450.9 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.3457, allocations: 409 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3457, allocations: 0 / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3458, allocations: 39.88 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3458, allocations: 1.875 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3458, allocations: 3.438 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3458, allocations: 3.766 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3458, allocations: 0 / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.3461, allocations: 0.5215 MB / 451.8 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.3461, allocations: 22.28 kB / 451.9 MB, free: 122 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3461, allocations: 11.5 kB / 451.9 MB, free: 122 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.3462, allocations: 5.984 kB / 451.9 MB, free: 122 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.3462, allocations: 13.66 kB / 451.9 MB, free: 122 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3462, allocations: 3.812 kB / 451.9 MB, free: 122 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.405e-05/0.3462, allocations: 16.34 kB / 451.9 MB, free: 122 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3462, allocations: 0 / 451.9 MB, free: 122 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001405/0.3476, allocations: 0.9274 MB / 452.8 MB, free: 122 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.002126/0.3497, allocations: 1.322 MB / 454.2 MB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.3499, allocations: 144.3 kB / 454.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3499, allocations: 3 kB / 454.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.35, allocations: 87.16 kB / 454.4 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3502, allocations: 68.77 kB / 454.5 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.3509, allocations: 0.494 MB / 455 MB, free: 121.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.351, allocations: 83.36 kB / 455 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.3512, allocations: 378.2 kB / 455.4 MB, free: 121.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3513, allocations: 96.25 kB / 455.5 MB, free: 121.1 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3513, allocations: 0 / 455.5 MB, free: 121.1 MB / 394.7 MB Notification: Performance of Templates: time 0.02715/0.3784, allocations: 38.81 MB / 494.3 MB, free: 84.36 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.2623071959242225]