Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.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.001288/0.001288, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.001418/0.001418, allocations: 169 kB / 24.22 MB, free: 244 kB / 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.88/0.88, allocations: 177.1 MB / 204.7 MB, free: 5.449 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.04357/0.04357, allocations: 11.4 MB / 272.6 MB, free: 2.172 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.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 1.5 kB / 291.7 MB, free: 17.72 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.908e-06/1.147e-05, allocations: 3.656 kB / 291.7 MB, free: 17.72 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane): time 0.03647/0.03648, allocations: 59.33 MB / 351.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.053, allocations: 25.89 MB / 377 MB, free: 3.699 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.05306, allocations: 4 kB / 377 MB, free: 3.695 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.05358, allocations: 226.9 kB / 377.2 MB, free: 3.473 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0309/0.08448, allocations: 18.39 MB / 395.6 MB, free: 1 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.08474, allocations: 151.4 kB / 395.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.08491, allocations: 250.8 kB / 396 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.08496, allocations: 9.828 kB / 396 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.0851, allocations: 151.6 kB / 396.1 MB, free: 460 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.08518, allocations: 43.89 kB / 396.2 MB, free: 416 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.08519, allocations: 7.938 kB / 396.2 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0263/0.1115, allocations: 17.76 MB / 413.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.1115, allocations: 19.91 kB / 414 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.043e-05/0.1116, allocations: 39.92 kB / 414 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.1288, allocations: 7.667 MB / 421.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1288, allocations: 0 / 421.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1288, allocations: 0 / 421.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1288, allocations: 0 / 421.7 MB, free: 6.863 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.001964/0.1307, allocations: 1.327 MB / 423 MB, free: 5.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1308, allocations: 8.031 kB / 423 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1309, allocations: 51.83 kB / 423 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.131, allocations: 138 kB / 423.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.131, allocations: 12 kB / 423.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1311, allocations: 4 kB / 423.2 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1312, allocations: 95.44 kB / 423.3 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1312, allocations: 3.938 kB / 423.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.1312, allocations: 2.906 kB / 423.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1312, allocations: 7.984 kB / 423.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.1312, allocations: 33.64 kB / 423.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.1316, allocations: 336.7 kB / 423.7 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1317, allocations: 85.12 kB / 423.8 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.1317, allocations: 33.84 kB / 423.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02169/0.1534, allocations: 18.76 MB / 442.5 MB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1534, allocations: 34.56 kB / 442.6 MB, free: 1.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.707e-06/0.1535, allocations: 0 / 442.6 MB, free: 1.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002486/0.1537, allocations: 127.1 kB / 442.7 MB, free: 1.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1537, allocations: 81.09 kB / 442.8 MB, free: 1.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/0.1538, allocations: 123.2 kB / 442.9 MB, free: 1.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1538, allocations: 25.7 kB / 442.9 MB, free: 1.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.1538, allocations: 88.59 kB / 443 MB, free: 1.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.1539, allocations: 91.19 kB / 443.1 MB, free: 1.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.1539, allocations: 33.69 kB / 443.1 MB, free: 1.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.154, allocations: 330.7 kB / 443.5 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.154, allocations: 15.98 kB / 443.5 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.1541, allocations: 37.69 kB / 443.5 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.1541, allocations: 75.8 kB / 443.6 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1541, allocations: 0 / 443.6 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001008/0.1542, allocations: 101.6 kB / 443.7 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1542, allocations: 4 kB / 443.7 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1542, allocations: 4 kB / 443.7 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1543, allocations: 7.938 kB / 443.7 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.1543, allocations: 19.98 kB / 443.7 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1543, allocations: 4 kB / 443.7 MB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.1544, allocations: 11.89 kB / 443.7 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1544, allocations: 4 kB / 443.7 MB, free: 0.5664 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.211e-05/0.1544, allocations: 117.8 kB / 443.9 MB, free: 452 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.1545, allocations: 7.984 kB / 443.9 MB, free: 444 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1124/0.2669, allocations: 1.466 MB / 445.3 MB, free: 98.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001015/0.2679, allocations: 1.105 MB / 446.4 MB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2679, allocations: 1.562 kB / 446.4 MB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2679, allocations: 3.328 kB / 446.4 MB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.2695, allocations: 2.022 MB / 448.5 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.2695, allocations: 1.344 kB / 448.5 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.2696, allocations: 40.69 kB / 448.5 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2696, allocations: 1.719 kB / 448.5 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2696, allocations: 9.391 kB / 448.5 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2696, allocations: 5.594 kB / 448.5 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2696, allocations: 1.047 kB / 448.5 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.2709, allocations: 1.7 MB / 450.2 MB, free: 97.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.271, allocations: 84.92 kB / 450.3 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.271, allocations: 8.969 kB / 450.3 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.271, allocations: 6.594 kB / 450.3 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.2711, allocations: 16.45 kB / 450.3 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2711, allocations: 9.562 kB / 450.3 MB, free: 97.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.224e-05/0.2711, allocations: 19.38 kB / 450.4 MB, free: 97.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2711, allocations: 0 / 450.4 MB, free: 97.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001617/0.2727, allocations: 1.036 MB / 451.4 MB, free: 97.17 MB / 394.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: 8 (state_h.phase,$cse3.sat.vap.phase,$cse3.sat.liq.phase,$cse4.phase,state_p.phase,$cse1.sat.vap.phase,$cse1.sat.liq.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002219/0.2749, allocations: 1.882 MB / 453.3 MB, free: 97.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.2753, allocations: 434.7 kB / 453.7 MB, free: 96.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2753, allocations: 0 / 453.7 MB, free: 96.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.2754, allocations: 367.2 kB / 454.1 MB, free: 96.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.2759, allocations: 153.8 kB / 454.2 MB, free: 96.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2772, allocations: 1.454 MB / 455.7 MB, free: 96.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.929e-05/0.2773, allocations: 170.6 kB / 455.8 MB, free: 96.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.078e-05/0.2774, allocations: 25.09 kB / 455.9 MB, free: 96.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.2776, allocations: 142.2 kB / 456 MB, free: 96.38 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2776, allocations: 1.094 kB / 456 MB, free: 96.38 MB / 394.7 MB Notification: Performance of Templates: time 0.02508/0.3026, allocations: 31.33 MB / 487.3 MB, free: 77.57 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.611048494465649]