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.001006/0.001006, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001088/0.001088, allocations: 181 kB / 23.36 MB, free: 1.129 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.9511/0.9511, allocations: 177.2 MB / 203.8 MB, free: 5.504 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.02894/0.02894, allocations: 7.533 MB / 267.8 MB, free: 5.902 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 2.014e-06/2.014e-06, allocations: 0 / 285.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.813e-05, allocations: 6.25 kB / 285.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.1389/0.1389, allocations: 12.91 MB / 298.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006957/0.1459, allocations: 8.317 MB / 307.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.146, allocations: 0 / 307.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.1462, allocations: 39.75 kB / 307.1 MB, free: 10 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.1513, allocations: 1.901 MB / 309 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005065/0.1563, allocations: 2.314 MB / 311.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1565, allocations: 139.2 kB / 311.5 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.1565, allocations: 7.641 kB / 311.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.1566, allocations: 59.5 kB / 311.6 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.1567, allocations: 35.38 kB / 311.6 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1567, allocations: 2.406 kB / 311.6 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007948/0.1647, allocations: 6.647 MB / 318.2 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.1647, allocations: 11.92 kB / 318.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.1648, allocations: 43.84 kB / 318.3 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007868/0.1726, allocations: 4.888 MB / 323.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1726, allocations: 0 / 323.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1726, allocations: 0 / 323.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1726, allocations: 0 / 323.2 MB, free: 11.94 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.001927/0.1746, allocations: 0.8168 MB / 324 MB, free: 11.1 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1746, allocations: 12.62 kB / 324 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.1748, allocations: 68.81 kB / 324.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.175, allocations: 137.6 kB / 324.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.175, allocations: 12.55 kB / 324.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.175, allocations: 8.375 kB / 324.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.1756, allocations: 308 kB / 324.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1756, allocations: 4.5 kB / 324.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1756, allocations: 0 / 324.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1756, allocations: 7.234 kB / 324.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.1759, allocations: 187.8 kB / 324.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.1764, allocations: 332.1 kB / 325 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.1768, allocations: 229.6 kB / 325.3 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.1769, allocations: 37.69 kB / 325.3 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3108/0.4877, allocations: 116.7 MB / 442 MB, free: 112.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.4877, allocations: 35.62 kB / 442 MB, free: 112.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.255e-06/0.4877, allocations: 0 / 442 MB, free: 112.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008088/0.4885, allocations: 350.9 kB / 442.4 MB, free: 112.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.4885, allocations: 86.81 kB / 442.5 MB, free: 112.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/0.4886, allocations: 125.8 kB / 442.6 MB, free: 112 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.4886, allocations: 29.7 kB / 442.6 MB, free: 112 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.4886, allocations: 102.3 kB / 442.7 MB, free: 111.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.4887, allocations: 49.33 kB / 442.8 MB, free: 111.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.4887, allocations: 52.11 kB / 442.8 MB, free: 111.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.4888, allocations: 327 kB / 443.1 MB, free: 111.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.4888, allocations: 46.94 kB / 443.2 MB, free: 111.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.4889, allocations: 76.33 kB / 443.3 MB, free: 111.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.489, allocations: 128.9 kB / 443.4 MB, free: 111.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.489, allocations: 3.969 kB / 443.4 MB, free: 111.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001627/0.4891, allocations: 171.3 kB / 443.6 MB, free: 111.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4892, allocations: 4 kB / 443.6 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4892, allocations: 0 / 443.6 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4892, allocations: 4 kB / 443.6 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4893, allocations: 49.09 kB / 443.6 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.4893, allocations: 3.75 kB / 443.6 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.4893, allocations: 10.34 kB / 443.6 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.4894, allocations: 16.08 kB / 443.6 MB, free: 111.2 MB / 378.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 6.472e-05/0.4894, allocations: 114 kB / 443.8 MB, free: 111.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.4895, allocations: 14.58 kB / 443.8 MB, free: 111.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.4901, allocations: 1.245 MB / 445 MB, free: 109.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4901, allocations: 10.16 kB / 445 MB, free: 109.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4901, allocations: 4.75 kB / 445 MB, free: 109.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4901, allocations: 0 / 445 MB, free: 109.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.4904, allocations: 408.7 kB / 445.4 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.4904, allocations: 6.188 kB / 445.4 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.715e-05/0.4905, allocations: 32.67 kB / 445.5 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4905, allocations: 4.797 kB / 445.5 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4905, allocations: 3.625 kB / 445.5 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4905, allocations: 4.844 kB / 445.5 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4905, allocations: 4 kB / 445.5 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.4908, allocations: 0.5259 MB / 446 MB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.4908, allocations: 22.8 kB / 446 MB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4908, allocations: 3.312 kB / 446 MB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.4909, allocations: 0 / 446 MB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.4909, allocations: 14.14 kB / 446.1 MB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.4909, allocations: 4 kB / 446.1 MB, free: 109.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.66e-05/0.4909, allocations: 20.09 kB / 446.1 MB, free: 109.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4909, allocations: 0 / 446.1 MB, free: 109.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001729/0.4926, allocations: 0.9276 MB / 447 MB, free: 108.3 MB / 378.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.002604/0.4952, allocations: 1.325 MB / 448.3 MB, free: 107.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.4954, allocations: 140 kB / 448.5 MB, free: 107.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4954, allocations: 128 / 448.5 MB, free: 107.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.4955, allocations: 96.72 kB / 448.6 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.4958, allocations: 54.98 kB / 448.6 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.4966, allocations: 0.4897 MB / 449.1 MB, free: 106.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.4966, allocations: 83.45 kB / 449.2 MB, free: 106.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000242/0.4968, allocations: 384.6 kB / 449.6 MB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.497, allocations: 100.5 kB / 449.7 MB, free: 106.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.497, allocations: 0 / 449.7 MB, free: 106.3 MB / 378.7 MB Notification: Performance of Templates: time 0.03205/0.529, allocations: 38.82 MB / 488.5 MB, free: 68.09 MB / 378.7 MB " [Timeout remaining time 659] 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: 4.148947222158313]