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.0006621/0.0006621, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00087/0.001532, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007037/0.0007037, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000844/0.001548, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9563/0.9563, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08104/1.037, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.0478/0.0478, allocations: 11.71 MB / 255.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004925/0.05272, allocations: 3.087 MB / 258.8 MB, free: 0.8242 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.824e-06/1.824e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.917e-05, allocations: 2.312 kB / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane): time 0.1645/0.1646, allocations: 59.2 MB / 319.3 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.1831, allocations: 27.31 MB / 346.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.1831, allocations: 4 kB / 346.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.1836, allocations: 230.7 kB / 346.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03757/0.2212, allocations: 18.64 MB / 365.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.2215, allocations: 203.2 kB / 365.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.2217, allocations: 246.8 kB / 365.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.2217, allocations: 13.95 kB / 365.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.2219, allocations: 159.6 kB / 366.1 MB, free: 9.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.222, allocations: 47.84 kB / 366.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.222, allocations: 4 kB / 366.1 MB, free: 9.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02832/0.2503, allocations: 18.49 MB / 384.6 MB, free: 6.754 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.2503, allocations: 7.938 kB / 384.6 MB, free: 6.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.2504, allocations: 35.94 kB / 384.6 MB, free: 6.711 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.2659, allocations: 6.698 MB / 391.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.2659, allocations: 0 / 391.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2659, allocations: 0 / 391.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.266, allocations: 4 kB / 391.3 MB, free: 15.99 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.001792/0.2678, allocations: 2.04 MB / 393.4 MB, free: 13.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.2678, allocations: 8.031 kB / 393.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.2679, allocations: 55.81 kB / 393.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.268, allocations: 133 kB / 393.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.268, allocations: 3.938 kB / 393.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.268, allocations: 13.59 kB / 393.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.2682, allocations: 90.86 kB / 393.7 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2682, allocations: 4 kB / 393.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.2682, allocations: 4 kB / 393.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2682, allocations: 0 / 393.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.2682, allocations: 39.14 kB / 393.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.2685, allocations: 344.6 kB / 394.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2686, allocations: 81.19 kB / 394.1 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.2687, allocations: 34.27 kB / 394.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02354/0.2922, allocations: 19.22 MB / 413.4 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.2922, allocations: 39.8 kB / 413.4 MB, free: 9.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.124e-06/0.2922, allocations: 0 / 413.4 MB, free: 9.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002119/0.2925, allocations: 126.7 kB / 413.6 MB, free: 9.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.2925, allocations: 81.11 kB / 413.6 MB, free: 9.531 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.2926, allocations: 120.5 kB / 413.7 MB, free: 9.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2926, allocations: 29.7 kB / 413.8 MB, free: 9.367 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.2926, allocations: 84.64 kB / 413.9 MB, free: 9.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.2926, allocations: 91.19 kB / 413.9 MB, free: 9.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.2927, allocations: 41.62 kB / 414 MB, free: 9.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.2928, allocations: 326.8 kB / 414.3 MB, free: 8.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.2928, allocations: 16 kB / 414.3 MB, free: 8.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.2928, allocations: 37.69 kB / 414.4 MB, free: 8.758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.532e-05/0.2929, allocations: 65.05 kB / 414.4 MB, free: 8.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2929, allocations: 3.938 kB / 414.4 MB, free: 8.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 8.844e-05/0.293, allocations: 105.6 kB / 414.5 MB, free: 8.578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.293, allocations: 8 kB / 414.5 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.293, allocations: 0 / 414.5 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.293, allocations: 4 kB / 414.5 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.2931, allocations: 23.98 kB / 414.6 MB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2931, allocations: 4.812 kB / 414.6 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.2931, allocations: 15.89 kB / 414.6 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.2931, allocations: 7.938 kB / 414.6 MB, free: 8.516 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.037e-05/0.2932, allocations: 113.8 kB / 414.7 MB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.2932, allocations: 7.984 kB / 414.7 MB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.2945, allocations: 1.476 MB / 416.2 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007225/0.2952, allocations: 1.099 MB / 417.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2952, allocations: 4 kB / 417.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2952, allocations: 7.922 kB / 417.3 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.2966, allocations: 2.016 MB / 419.3 MB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.2966, allocations: 4 kB / 419.3 MB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.242e-05/0.2967, allocations: 43.92 kB / 419.4 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.2967, allocations: 87.09 kB / 419.4 MB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2967, allocations: 0 / 419.4 MB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2967, allocations: 8 kB / 419.5 MB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2967, allocations: 4 kB / 419.5 MB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2967, allocations: 0 / 419.5 MB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.2978, allocations: 1.709 MB / 421.2 MB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.2978, allocations: 8 kB / 421.2 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.2979, allocations: 4 kB / 421.2 MB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.2979, allocations: 19.97 kB / 421.2 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2979, allocations: 7.984 kB / 421.2 MB, free: 1.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.513e-05/0.2979, allocations: 16.8 kB / 421.2 MB, free: 1.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2979, allocations: 0 / 421.2 MB, free: 1.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001731/0.2997, allocations: 1.129 MB / 422.4 MB, free: 0.6836 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.117/0.4167, allocations: 2.225 MB / 424.6 MB, free: 92.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006612/0.4173, allocations: 434.7 kB / 425 MB, free: 92.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/0.4173, allocations: 2.812 kB / 425 MB, free: 92.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.4177, allocations: 364.5 kB / 425.4 MB, free: 92.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.4186, allocations: 170.3 kB / 425.5 MB, free: 92.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.4228, allocations: 1.435 MB / 427 MB, free: 91.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.423, allocations: 168.7 kB / 427.1 MB, free: 91.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.4231, allocations: 31.97 kB / 427.2 MB, free: 91.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.4233, allocations: 142.1 kB / 427.3 MB, free: 91.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4233, allocations: 0 / 427.3 MB, free: 91.73 MB / 394.7 MB Notification: Performance of Templates: time 0.02782/0.4511, allocations: 33.36 MB / 460.7 MB, free: 80.88 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.792850445024669]