Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.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.0006584/0.0006584, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009428/0.001601, 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.001593/0.001593, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.003237, 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.9744/0.9744, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08965/1.064, allocations: 53.66 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.04645/0.04645, allocations: 11.71 MB / 255.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01068/0.05713, allocations: 3.081 MB / 258.8 MB, free: 0.8359 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.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.734e-05, allocations: 2.312 kB / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium): time 0.1489/0.1489, allocations: 58.9 MB / 319 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01745/0.1664, allocations: 27.07 MB / 346 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.1664, allocations: 0 / 346 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.167, allocations: 222.7 kB / 346.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03317/0.2001, allocations: 18.21 MB / 364.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.2004, allocations: 191.2 kB / 364.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.2006, allocations: 222.9 kB / 364.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.2006, allocations: 9.953 kB / 364.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.2008, allocations: 151.6 kB / 365 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.2009, allocations: 39.84 kB / 365.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2009, allocations: 4 kB / 365.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02747/0.2283, allocations: 18.07 MB / 383.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.2284, allocations: 7.938 kB / 383.2 MB, free: 8.203 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.2284, allocations: 39.88 kB / 383.2 MB, free: 8.164 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.2422, allocations: 6.702 MB / 389.9 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.2422, allocations: 0 / 389.9 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2422, allocations: 4 kB / 389.9 MB, free: 1.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.2422, allocations: 0 / 389.9 MB, free: 1.441 MB / 362.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.002204/0.2444, allocations: 2.032 MB / 391.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.2444, allocations: 12.03 kB / 391.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.2446, allocations: 51.89 kB / 392 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2447, allocations: 125.1 kB / 392.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.2447, allocations: 11.94 kB / 392.1 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2447, allocations: 8 kB / 392.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2448, allocations: 98.36 kB / 392.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.2448, allocations: 0 / 392.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.2448, allocations: 12 kB / 392.2 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2448, allocations: 3.938 kB / 392.2 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.2449, allocations: 35.14 kB / 392.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.2452, allocations: 336.6 kB / 392.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2453, allocations: 79.36 kB / 392.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.2453, allocations: 45.81 kB / 392.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02248/0.2678, allocations: 19.21 MB / 411.9 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.2678, allocations: 34.56 kB / 412 MB, free: 11.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.035e-06/0.2678, allocations: 2.906 kB / 412 MB, free: 11.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002202/0.2681, allocations: 126 kB / 412.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2681, allocations: 85.05 kB / 412.2 MB, free: 10.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.2681, allocations: 132.5 kB / 412.3 MB, free: 10.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2682, allocations: 29.7 kB / 412.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.2682, allocations: 84.64 kB / 412.4 MB, free: 10.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.2682, allocations: 83.2 kB / 412.5 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.2683, allocations: 37.69 kB / 412.5 MB, free: 10.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.2683, allocations: 322.8 kB / 412.9 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.2684, allocations: 15.98 kB / 412.9 MB, free: 10.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.2684, allocations: 37.69 kB / 412.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.467e-05/0.2685, allocations: 73.03 kB / 413 MB, free: 10.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2685, allocations: 0 / 413 MB, free: 10.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 9.32e-05/0.2686, allocations: 105.6 kB / 413.1 MB, free: 10.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2686, allocations: 12 kB / 413.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2686, allocations: 0 / 413.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.2686, allocations: 3.188 kB / 413.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.2686, allocations: 27.92 kB / 413.1 MB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.2687, allocations: 3.938 kB / 413.1 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.2687, allocations: 15.89 kB / 413.1 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2687, allocations: 4 kB / 413.1 MB, free: 9.969 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.54e-05/0.2688, allocations: 109.8 kB / 413.3 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.2688, allocations: 11.98 kB / 413.3 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000992/0.2698, allocations: 1.479 MB / 414.7 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007238/0.2705, allocations: 1.095 MB / 415.8 MB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.2705, allocations: 3.938 kB / 415.8 MB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2705, allocations: 3.938 kB / 415.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.272, allocations: 2.021 MB / 417.9 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.272, allocations: 0 / 417.9 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.2721, allocations: 39.98 kB / 417.9 MB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.2722, allocations: 95.03 kB / 418 MB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2722, allocations: 4 kB / 418 MB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2722, allocations: 8 kB / 418 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2722, allocations: 0 / 418 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2722, allocations: 3.938 kB / 418 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.2733, allocations: 1.701 MB / 419.7 MB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2733, allocations: 4 kB / 419.7 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.2734, allocations: 8 kB / 419.7 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.2734, allocations: 19.97 kB / 419.8 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2734, allocations: 0 / 419.8 MB, free: 3.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.629e-05/0.2734, allocations: 24.83 kB / 419.8 MB, free: 3.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2734, allocations: 4.031 kB / 419.8 MB, free: 3.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001588/0.275, allocations: 1.129 MB / 420.9 MB, free: 2.133 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.1053/0.3803, allocations: 2.219 MB / 423.1 MB, free: 91.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.3807, allocations: 440.1 kB / 423.6 MB, free: 91.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.3807, allocations: 2.125 kB / 423.6 MB, free: 91.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.381, allocations: 367.6 kB / 423.9 MB, free: 91.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.3815, allocations: 172.6 kB / 424.1 MB, free: 91.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.3849, allocations: 1.424 MB / 425.5 MB, free: 90.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.385, allocations: 169.6 kB / 425.7 MB, free: 90.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.156e-05/0.3851, allocations: 31.47 kB / 425.7 MB, free: 90.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.3853, allocations: 145 kB / 425.8 MB, free: 90.71 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3853, allocations: 0 / 425.8 MB, free: 90.71 MB / 394.7 MB Notification: Performance of Templates: time 0.02763/0.4129, allocations: 33.38 MB / 459.2 MB, free: 81.1 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.853150355629623]