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.0008356/0.0008356, allocations: 79.75 kB / 20.11 MB, free: 4.152 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.0008851/0.0008851, allocations: 156.5 kB / 23.55 MB, free: 0.7188 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.9201/0.9201, allocations: 177.1 MB / 204 MB, free: 5.379 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.04645/0.04645, allocations: 11.73 MB / 272.2 MB, free: 1.777 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.803e-06/1.803e-06, allocations: 0 / 291.6 MB, free: 17.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.327e-05, allocations: 2.312 kB / 291.6 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane): time 0.03917/0.03918, allocations: 59.41 MB / 351 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.0559, allocations: 25.91 MB / 376.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.05595, allocations: 0 / 376.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.05649, allocations: 234.9 kB / 377.1 MB, free: 2.473 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03111/0.08761, allocations: 18.4 MB / 395.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.08785, allocations: 147.3 kB / 395.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.08801, allocations: 246.8 kB / 395.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.08805, allocations: 13.83 kB / 395.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.08819, allocations: 147.6 kB / 396.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.086e-05/0.08826, allocations: 51.83 kB / 396.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.08827, allocations: 4 kB / 396.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0223/0.1106, allocations: 17.75 MB / 413.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.1106, allocations: 11.92 kB / 413.9 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.1106, allocations: 47.84 kB / 413.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009678/0.1203, allocations: 7.673 MB / 421.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1203, allocations: 0 / 421.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1203, allocations: 0 / 421.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1203, allocations: 0 / 421.6 MB, free: 5.859 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.001468/0.1218, allocations: 1.318 MB / 422.9 MB, free: 4.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.1218, allocations: 8.031 kB / 422.9 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.1219, allocations: 51.89 kB / 423 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1221, allocations: 141 kB / 423.1 MB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.1221, allocations: 4 kB / 423.1 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1221, allocations: 8 kB / 423.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1222, allocations: 90.31 kB / 423.2 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1222, allocations: 4 kB / 423.2 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1222, allocations: 4 kB / 423.2 MB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1222, allocations: 11.86 kB / 423.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.085e-05/0.1222, allocations: 29.66 kB / 423.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.1226, allocations: 329.3 kB / 423.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1227, allocations: 93.05 kB / 423.7 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.1227, allocations: 37.83 kB / 423.7 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02147/0.1442, allocations: 18.76 MB / 442.5 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1442, allocations: 34.56 kB / 442.5 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1442, allocations: 0 / 442.5 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.000192/0.1444, allocations: 131 kB / 442.6 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.1444, allocations: 77.11 kB / 442.7 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.854e-05/0.1445, allocations: 124.8 kB / 442.8 MB, free: 464 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.1445, allocations: 29.7 kB / 442.9 MB, free: 428 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.1445, allocations: 88.64 kB / 442.9 MB, free: 336 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.1446, allocations: 83.25 kB / 443 MB, free: 252 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1446, allocations: 33.69 kB / 443.1 MB, free: 212 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.1123/0.2569, allocations: 318.8 kB / 443.4 MB, free: 97.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.552e-05/0.2569, allocations: 16.42 kB / 443.4 MB, free: 97.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.257, allocations: 41.72 kB / 443.4 MB, free: 97.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.754e-05/0.257, allocations: 71.31 kB / 443.5 MB, free: 97.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.257, allocations: 0.6875 kB / 443.5 MB, free: 97.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001294/0.2572, allocations: 110.2 kB / 443.6 MB, free: 97.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2572, allocations: 4.656 kB / 443.6 MB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2572, allocations: 1.625 kB / 443.6 MB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2572, allocations: 1.516 kB / 443.6 MB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/0.2573, allocations: 21.67 kB / 443.6 MB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.2573, allocations: 2.688 kB / 443.6 MB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.2573, allocations: 12.48 kB / 443.7 MB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2573, allocations: 4.922 kB / 443.7 MB, free: 97.64 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 5.659e-05/0.2574, allocations: 119.6 kB / 443.8 MB, free: 97.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.2574, allocations: 13.83 kB / 443.8 MB, free: 97.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.2587, allocations: 1.469 MB / 445.3 MB, free: 97.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009242/0.2596, allocations: 1.097 MB / 446.4 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2596, allocations: 3.031 kB / 446.4 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2596, allocations: 2.234 kB / 446.4 MB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.2611, allocations: 2.029 MB / 448.4 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2611, allocations: 2.766 kB / 448.4 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.2612, allocations: 37.05 kB / 448.4 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2612, allocations: 5.906 kB / 448.4 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2612, allocations: 5.453 kB / 448.4 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2612, allocations: 6.203 kB / 448.4 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2612, allocations: 1.984 kB / 448.4 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.2624, allocations: 1.704 MB / 450.1 MB, free: 96.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.2625, allocations: 86.5 kB / 450.2 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2625, allocations: 7.562 kB / 450.2 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.2625, allocations: 4.625 kB / 450.2 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.2626, allocations: 15.31 kB / 450.3 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.2626, allocations: 9.344 kB / 450.3 MB, free: 96.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.954e-05/0.2626, allocations: 28.67 kB / 450.3 MB, free: 96.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2626, allocations: 0 / 450.3 MB, free: 96.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001565/0.2642, allocations: 1.054 MB / 451.4 MB, free: 96.41 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.002098/0.2663, allocations: 1.908 MB / 453.3 MB, free: 96.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.2665, allocations: 451.5 kB / 453.7 MB, free: 96.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2666, allocations: 2.844 kB / 453.7 MB, free: 96.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.2667, allocations: 361.4 kB / 454.1 MB, free: 96.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.2672, allocations: 145.6 kB / 454.2 MB, free: 96.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2685, allocations: 1.451 MB / 455.7 MB, free: 95.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.031e-05/0.2686, allocations: 179.5 kB / 455.8 MB, free: 95.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.2686, allocations: 27.61 kB / 455.9 MB, free: 95.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.2688, allocations: 137.7 kB / 456 MB, free: 95.61 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2688, allocations: 2.438 kB / 456 MB, free: 95.61 MB / 394.7 MB Notification: Performance of Templates: time 0.02368/0.2925, allocations: 31.8 MB / 487.8 MB, free: 75.73 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.6580172264948487]