Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.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.0007255/0.0007255, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001782, 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.0007194/0.0007194, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008958/0.001615, 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.9572/0.9572, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07903/1.036, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.0477/0.0477, allocations: 11.71 MB / 255.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007338/0.05503, allocations: 3.088 MB / 258.8 MB, free: 0.8203 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.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.94e-05, allocations: 10.19 kB / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide): time 0.1685/0.1685, allocations: 59.2 MB / 319.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.1864, allocations: 27.31 MB / 346.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.1865, allocations: 0 / 346.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.1869, allocations: 230.7 kB / 346.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03343/0.2203, allocations: 18.84 MB / 365.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.2207, allocations: 199.2 kB / 365.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.2208, allocations: 242.8 kB / 366.1 MB, free: 9.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.2209, allocations: 13.94 kB / 366.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.2211, allocations: 159.6 kB / 366.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/0.2211, allocations: 59.81 kB / 366.3 MB, free: 9.043 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2211, allocations: 0 / 366.3 MB, free: 9.043 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02846/0.2496, allocations: 18.82 MB / 385.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2496, allocations: 7.938 kB / 385.1 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.2497, allocations: 35.94 kB / 385.2 MB, free: 6.156 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01837/0.268, allocations: 6.714 MB / 391.9 MB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.2681, allocations: 0 / 391.9 MB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2681, allocations: 4 kB / 391.9 MB, free: 15.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.2681, allocations: 0 / 391.9 MB, free: 15.42 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.00246/0.2705, allocations: 2.036 MB / 393.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2706, allocations: 12.03 kB / 393.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.2707, allocations: 47.89 kB / 394 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2708, allocations: 137 kB / 394.1 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.2708, allocations: 3.938 kB / 394.1 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2708, allocations: 8 kB / 394.1 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2709, allocations: 92.55 kB / 394.2 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2709, allocations: 0 / 394.2 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.271, allocations: 12.61 kB / 394.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.271, allocations: 0 / 394.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.271, allocations: 41.58 kB / 394.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.2713, allocations: 340.6 kB / 394.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.2714, allocations: 82.67 kB / 394.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.2715, allocations: 38.95 kB / 394.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02262/0.2941, allocations: 19.21 MB / 413.9 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2941, allocations: 38.5 kB / 414 MB, free: 9.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.435e-06/0.2941, allocations: 0 / 414 MB, free: 9.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002196/0.2943, allocations: 121.5 kB / 414.1 MB, free: 9.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.2944, allocations: 81.11 kB / 414.2 MB, free: 8.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.2944, allocations: 122.6 kB / 414.3 MB, free: 8.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.2944, allocations: 33.7 kB / 414.3 MB, free: 8.797 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/0.2945, allocations: 84.64 kB / 414.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.2945, allocations: 95.12 kB / 414.5 MB, free: 8.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.2946, allocations: 33.69 kB / 414.5 MB, free: 8.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.2946, allocations: 322.8 kB / 414.8 MB, free: 8.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.2946, allocations: 12 kB / 414.9 MB, free: 8.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.2947, allocations: 41.67 kB / 414.9 MB, free: 8.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.467e-05/0.2947, allocations: 72.98 kB / 415 MB, free: 8.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2947, allocations: 0 / 415 MB, free: 8.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 9.327e-05/0.2948, allocations: 102.2 kB / 415.1 MB, free: 8.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2949, allocations: 12 kB / 415.1 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.2949, allocations: 0 / 415.1 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2949, allocations: 0 / 415.1 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.2949, allocations: 24.86 kB / 415.1 MB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2949, allocations: 3.938 kB / 415.1 MB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.295, allocations: 15.89 kB / 415.1 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.295, allocations: 4 kB / 415.1 MB, free: 7.957 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.382e-05/0.2951, allocations: 113.8 kB / 415.2 MB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.2951, allocations: 12.5 kB / 415.3 MB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.2961, allocations: 1.481 MB / 416.7 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007207/0.2968, allocations: 1.101 MB / 417.8 MB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2968, allocations: 0 / 417.8 MB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2969, allocations: 9.984 kB / 417.8 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.2982, allocations: 2.014 MB / 419.9 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2982, allocations: 0 / 419.9 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-05/0.2983, allocations: 43.92 kB / 419.9 MB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.2983, allocations: 95.03 kB / 420 MB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2983, allocations: 4 kB / 420 MB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2984, allocations: 8 kB / 420 MB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2984, allocations: 3.984 kB / 420 MB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2984, allocations: 0 / 420 MB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.2997, allocations: 1.705 MB / 421.7 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2997, allocations: 4 kB / 421.7 MB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.2998, allocations: 4 kB / 421.7 MB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.2998, allocations: 23.95 kB / 421.7 MB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2998, allocations: 4 kB / 421.7 MB, free: 1.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.652e-05/0.2998, allocations: 16.84 kB / 421.8 MB, free: 1.254 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2998, allocations: 0 / 421.8 MB, free: 1.254 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001573/0.3014, allocations: 1.133 MB / 422.9 MB, free: 120 kB / 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.1165/0.418, allocations: 2.236 MB / 425.1 MB, free: 92.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.4184, allocations: 437.1 kB / 425.6 MB, free: 92.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.4184, allocations: 3.969 kB / 425.6 MB, free: 92.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.4187, allocations: 365.6 kB / 425.9 MB, free: 92.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.4192, allocations: 175.4 kB / 426.1 MB, free: 92.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.4226, allocations: 1.432 MB / 427.5 MB, free: 91.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.4227, allocations: 168.1 kB / 427.7 MB, free: 91.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.533e-05/0.4228, allocations: 29.2 kB / 427.7 MB, free: 91.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.423, allocations: 143.8 kB / 427.9 MB, free: 91.72 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.423, allocations: 0 / 427.9 MB, free: 91.72 MB / 394.7 MB Notification: Performance of Templates: time 0.02755/0.4505, allocations: 33.43 MB / 461.3 MB, free: 80.39 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7506950218230486]