Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.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.0008593/0.0008593, allocations: 79.75 kB / 20.92 MB, free: 3.32 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.004529/0.004529, allocations: 155.8 kB / 24.36 MB, free: 8.586 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.9116/0.9116, allocations: 177.1 MB / 204.8 MB, free: 4.973 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.04669/0.04669, allocations: 11.73 MB / 273 MB, free: 1.609 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.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 292.4 MB, free: 17.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.324e-05, allocations: 3.156 kB / 292.4 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium): time 0.03757/0.03758, allocations: 59.15 MB / 351.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0427/0.08029, allocations: 25.65 MB / 377.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.08034, allocations: 0 / 377.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003589/0.08393, allocations: 230.9 kB / 377.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03992/0.1238, allocations: 17.97 MB / 395.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.1241, allocations: 143.4 kB / 395.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.1242, allocations: 230.8 kB / 395.7 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.1243, allocations: 9.828 kB / 395.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1244, allocations: 131.6 kB / 395.9 MB, free: 276 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.1245, allocations: 47.78 kB / 395.9 MB, free: 228 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1245, allocations: 4 kB / 395.9 MB, free: 224 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02183/0.1463, allocations: 17.38 MB / 413.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.1463, allocations: 11.94 kB / 413.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.1464, allocations: 43.91 kB / 413.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.1598, allocations: 7.667 MB / 421 MB, free: 7.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1598, allocations: 0 / 421 MB, free: 7.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1598, allocations: 0 / 421 MB, free: 7.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1598, allocations: 0 / 421 MB, free: 7.066 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.002349/0.1621, allocations: 1.318 MB / 422.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1622, allocations: 16.03 kB / 422.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.1624, allocations: 51.89 kB / 422.4 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1625, allocations: 126 kB / 422.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1625, allocations: 4 kB / 422.5 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1625, allocations: 7.984 kB / 422.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1627, allocations: 94.17 kB / 422.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1627, allocations: 0 / 422.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1627, allocations: 4 kB / 422.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1627, allocations: 3.938 kB / 422.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.167e-05/0.1628, allocations: 42.83 kB / 422.7 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.1632, allocations: 332.8 kB / 423 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1633, allocations: 81.02 kB / 423.1 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.1633, allocations: 45.81 kB / 423.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02504/0.1884, allocations: 18.76 MB / 441.9 MB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1884, allocations: 38.5 kB / 441.9 MB, free: 2.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.1884, allocations: 0 / 441.9 MB, free: 2.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.003237/0.1917, allocations: 126.6 kB / 442.1 MB, free: 1.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1917, allocations: 81.11 kB / 442.1 MB, free: 1.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.1918, allocations: 119.2 kB / 442.3 MB, free: 1.668 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1918, allocations: 25.7 kB / 442.3 MB, free: 1.637 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.1918, allocations: 92.61 kB / 442.4 MB, free: 1.543 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.1919, allocations: 79.27 kB / 442.4 MB, free: 1.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1919, allocations: 33.69 kB / 442.5 MB, free: 1.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.192, allocations: 326.8 kB / 442.8 MB, free: 1.098 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.192, allocations: 19.98 kB / 442.8 MB, free: 1.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.157e-05/0.1921, allocations: 37.69 kB / 442.9 MB, free: 1.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/0.1921, allocations: 76.67 kB / 442.9 MB, free: 0.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1921, allocations: 4.625 kB / 442.9 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001251/0.1923, allocations: 110.2 kB / 443 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1923, allocations: 4 kB / 443 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1923, allocations: 0 / 443 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.1923, allocations: 3.938 kB / 443.1 MB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.1924, allocations: 20 kB / 443.1 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1924, allocations: 3.875 kB / 443.1 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.1924, allocations: 19.88 kB / 443.1 MB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1924, allocations: 0 / 443.1 MB, free: 0.793 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 6.544e-05/0.1925, allocations: 113.8 kB / 443.2 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.1925, allocations: 19.92 kB / 443.2 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.143/0.3355, allocations: 1.478 MB / 444.7 MB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.3355, allocations: 2.438 kB / 444.7 MB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3355, allocations: 0.6562 kB / 444.7 MB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.3356, allocations: 83.19 kB / 444.8 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.3356, allocations: 3.922 kB / 444.8 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.3357, allocations: 3.906 kB / 444.8 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.3357, allocations: 12.98 kB / 444.8 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001274/0.337, allocations: 1.509 MB / 446.3 MB, free: 97.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001388/0.3384, allocations: 1.781 MB / 448.1 MB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002321/0.3386, allocations: 342.9 kB / 448.4 MB, free: 96.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.091e-05/0.3386, allocations: 20.03 kB / 448.5 MB, free: 96.86 MB / 394.7 MB Notification: Performance of Backend: time 4.71e-07/0.3386, allocations: 3.688 kB / 448.5 MB, free: 96.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005648/0.3443, allocations: 3.528 MB / 452 MB, free: 96.71 MB / 394.7 MB Notification: Performance of SimCode: time 0.001084/0.3454, allocations: 1.469 MB / 453.5 MB, free: 95.75 MB / 394.7 MB Notification: Performance of Templates: time 0.04262/0.388, allocations: 62.3 MB / 0.5037 GB, free: 47.82 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.663940847851336]