Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.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.001043/0.001043, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001074/0.001074, allocations: 181 kB / 23.36 MB, free: 1.133 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.963/0.963, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.04851/0.04851, allocations: 7.54 MB / 267.8 MB, free: 5.879 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.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 285.9 MB, free: 3.812 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.285e-05, allocations: 6.25 kB / 285.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.1203/0.1204, allocations: 17.57 MB / 303.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1307, allocations: 17.23 MB / 320.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.1307, allocations: 0 / 320.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.1313, allocations: 288.6 kB / 320.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.1437, allocations: 7.121 MB / 328.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.1447, allocations: 0.7273 MB / 328.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1449, allocations: 230.9 kB / 329 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.1449, allocations: 9.953 kB / 329 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.145, allocations: 151.6 kB / 329.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.1451, allocations: 39.84 kB / 329.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1451, allocations: 8 kB / 329.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007347/0.1525, allocations: 7.16 MB / 336.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.1525, allocations: 15.92 kB / 336.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1525, allocations: 43.84 kB / 336.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.1566, allocations: 4.033 MB / 340.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1566, allocations: 0 / 340.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1566, allocations: 3.938 kB / 340.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1566, allocations: 4 kB / 340.5 MB, free: 10.52 MB / 298.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.001112/0.1577, allocations: 0.8196 MB / 341.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1578, allocations: 8.625 kB / 341.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.1579, allocations: 45.2 kB / 341.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.158, allocations: 125.1 kB / 341.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.158, allocations: 4 kB / 341.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.158, allocations: 19.77 kB / 341.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1581, allocations: 88.38 kB / 341.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1581, allocations: 0 / 341.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1582, allocations: 4 kB / 341.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1582, allocations: 8 kB / 341.6 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.1582, allocations: 45.62 kB / 341.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.1585, allocations: 348.6 kB / 342 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1586, allocations: 81.25 kB / 342.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.1587, allocations: 37.75 kB / 342.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03685/0.1955, allocations: 17.2 MB / 359.3 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1955, allocations: 34.56 kB / 359.3 MB, free: 7.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.164e-06/0.1956, allocations: 0 / 359.3 MB, free: 7.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003034/0.1959, allocations: 158.7 kB / 359.5 MB, free: 7.383 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.1959, allocations: 85.11 kB / 359.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.261e-05/0.196, allocations: 126.6 kB / 359.7 MB, free: 7.145 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.196, allocations: 25.7 kB / 359.7 MB, free: 7.113 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.196, allocations: 84.64 kB / 359.8 MB, free: 7.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.196, allocations: 87.23 kB / 359.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1961, allocations: 33.69 kB / 359.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.672e-05/0.1961, allocations: 322.8 kB / 360.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.1962, allocations: 12 kB / 360.2 MB, free: 6.562 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.1962, allocations: 43.47 kB / 360.3 MB, free: 6.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.296e-05/0.1963, allocations: 79.78 kB / 360.4 MB, free: 6.434 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1963, allocations: 0 / 360.4 MB, free: 6.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 9.6e-05/0.1964, allocations: 115.9 kB / 360.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.1964, allocations: 4 kB / 360.5 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1964, allocations: 0.6875 kB / 360.5 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1964, allocations: 4 kB / 360.5 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.1964, allocations: 23.92 kB / 360.5 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.1964, allocations: 0 / 360.5 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.1965, allocations: 11.89 kB / 360.5 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1965, allocations: 7.938 kB / 360.5 MB, free: 6.266 MB / 314.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 5.636e-05/0.1965, allocations: 113.8 kB / 360.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.1966, allocations: 21.8 kB / 360.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.1968, allocations: 279.8 kB / 360.9 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.741e-05/0.1969, allocations: 134.5 kB / 361.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.1969, allocations: 0 / 361.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1969, allocations: 3.984 kB / 361.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.1973, allocations: 0.6013 MB / 361.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1973, allocations: 0 / 361.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.064e-05/0.1974, allocations: 39.98 kB / 361.7 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1974, allocations: 4 kB / 361.7 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1974, allocations: 4 kB / 361.7 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1974, allocations: 3.938 kB / 361.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1974, allocations: 0 / 361.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1976, allocations: 473.4 kB / 362.2 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.1979, allocations: 23.8 kB / 362.2 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1979, allocations: 4 kB / 362.2 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.198, allocations: 12.62 kB / 362.2 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.198, allocations: 11.97 kB / 362.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.198, allocations: 8 kB / 362.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.207e-05/0.198, allocations: 26.83 kB / 362.3 MB, free: 4.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.198, allocations: 0 / 362.3 MB, free: 4.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001234/0.1992, allocations: 0.9501 MB / 363.2 MB, free: 3.516 MB / 314.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.002053/0.2013, allocations: 1.597 MB / 364.8 MB, free: 1.926 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.2014, allocations: 176.4 kB / 365 MB, free: 1.738 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2014, allocations: 0 / 365 MB, free: 1.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.2015, allocations: 81.33 kB / 365.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.2019, allocations: 150.1 kB / 365.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.2026, allocations: 423.3 kB / 365.6 MB, free: 1.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.443e-05/0.2027, allocations: 80.83 kB / 365.7 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.2027, allocations: 45.11 kB / 365.8 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.2029, allocations: 137.3 kB / 365.9 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2029, allocations: 0 / 365.9 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of Templates: time 0.02963/0.2325, allocations: 32.47 MB / 398.4 MB, free: 0.5 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.537376212421805]