Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.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.002665/0.002665, allocations: 84.08 kB / 19.44 MB, free: 332 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.003426/0.003426, allocations: 165.7 kB / 22.76 MB, free: 1.648 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 1.701/1.701, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.05887/0.05887, allocations: 7.516 MB / 267.1 MB, free: 6.031 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.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 337.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.844e-05/4.071e-05, allocations: 2.312 kB / 337.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.02221/0.02226, allocations: 17.46 MB / 355.4 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02501/0.04727, allocations: 16.96 MB / 372.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.04743, allocations: 0 / 372.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.04846, allocations: 235.2 kB / 372.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02373/0.07218, allocations: 6.403 MB / 379 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.07465, allocations: 0.6024 MB / 379.6 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.07506, allocations: 198.9 kB / 379.8 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.07514, allocations: 13.3 kB / 379.8 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.07541, allocations: 115.6 kB / 379.9 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.07555, allocations: 43.89 kB / 380 MB, free: 1.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.07557, allocations: 0 / 380 MB, free: 1.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02098/0.09655, allocations: 6.852 MB / 386.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.0966, allocations: 15.92 kB / 386.8 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.09675, allocations: 39.92 kB / 386.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01696/0.1137, allocations: 4.044 MB / 390.9 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.1137, allocations: 3.984 kB / 390.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1137, allocations: 0 / 390.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1137, allocations: 0 / 390.9 MB, free: 6.164 MB / 314.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.003334/0.1171, allocations: 0.9365 MB / 391.8 MB, free: 5.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.257e-05/0.1171, allocations: 16.61 kB / 391.9 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.1174, allocations: 35.81 kB / 391.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.1177, allocations: 143.9 kB / 392 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1177, allocations: 8 kB / 392 MB, free: 4.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.1178, allocations: 4 kB / 392 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.118, allocations: 109 kB / 392.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.118, allocations: 0 / 392.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1181, allocations: 0 / 392.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1181, allocations: 4 kB / 392.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1182, allocations: 59.91 kB / 392.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.1195, allocations: 0.4906 MB / 392.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.1198, allocations: 122.1 kB / 392.8 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.12, allocations: 63.42 kB / 392.9 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05659/0.1766, allocations: 10.45 MB / 403.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.268e-05/0.1766, allocations: 45.38 kB / 403.4 MB, free: 9.512 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.716e-06/0.1766, allocations: 0 / 403.4 MB, free: 9.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009035/0.1775, allocations: 229.3 kB / 403.6 MB, free: 9.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.1776, allocations: 77.11 kB / 403.7 MB, free: 9.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1778, allocations: 181.9 kB / 403.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1778, allocations: 25.7 kB / 403.9 MB, free: 8.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1779, allocations: 135.4 kB / 404 MB, free: 8.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.178, allocations: 95.2 kB / 404.1 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-05/0.1781, allocations: 47.3 kB / 404.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003358/0.1785, allocations: 0.4962 MB / 404.6 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.1785, allocations: 43.98 kB / 404.7 MB, free: 8.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1787, allocations: 61.11 kB / 404.7 MB, free: 8.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.1789, allocations: 119.3 kB / 404.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1789, allocations: 0 / 404.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003097/0.1792, allocations: 178.1 kB / 405 MB, free: 7.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1792, allocations: 4 kB / 405 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.1792, allocations: 0 / 405 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.1792, allocations: 8 kB / 405.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1794, allocations: 19.98 kB / 405.1 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.1794, allocations: 0 / 405.1 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.618e-05/0.1795, allocations: 15.84 kB / 405.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1795, allocations: 11.94 kB / 405.1 MB, free: 7.699 MB / 330.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 0.0001702/0.1796, allocations: 160.6 kB / 405.3 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.1797, allocations: 15.89 kB / 405.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.1802, allocations: 260.8 kB / 405.5 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003406/0.1806, allocations: 209.4 kB / 405.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1806, allocations: 4 kB / 405.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1806, allocations: 0 / 405.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.1818, allocations: 0.7529 MB / 406.5 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.1818, allocations: 4 kB / 406.5 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.182, allocations: 43.92 kB / 406.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.182, allocations: 4 kB / 406.5 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.182, allocations: 3.938 kB / 406.5 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.182, allocations: 4 kB / 406.5 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.182, allocations: 4 kB / 406.5 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.1831, allocations: 0.5696 MB / 407.1 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.1832, allocations: 23.78 kB / 407.1 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.1832, allocations: 11.94 kB / 407.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1834, allocations: 4 kB / 407.2 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.1834, allocations: 19.97 kB / 407.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1834, allocations: 8 kB / 407.2 MB, free: 5.531 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1835, allocations: 139.2 kB / 407.3 MB, free: 5.395 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1835, allocations: 0 / 407.3 MB, free: 5.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003614/0.1871, allocations: 0.9385 MB / 408.3 MB, free: 4.453 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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.004878/0.192, allocations: 1.571 MB / 409.8 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005754/0.1926, allocations: 227.3 kB / 410.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1926, allocations: 0 / 410.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.1928, allocations: 116.1 kB / 410.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.1939, allocations: 148.8 kB / 410.3 MB, free: 2.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1949, allocations: 430 kB / 410.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.1951, allocations: 125.1 kB / 410.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.1953, allocations: 42.05 kB / 410.9 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.1953, allocations: 36.5 kB / 410.9 MB, free: 1.699 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1953, allocations: 0 / 410.9 MB, free: 1.699 MB / 330.7 MB Notification: Performance of Templates: time 0.2219/0.4173, allocations: 28.53 MB / 439.5 MB, free: 62.57 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.410324930096976]