Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.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.00242/0.00242, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.003221/0.003221, allocations: 169.9 kB / 22.45 MB, free: 2.109 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 1.652/1.652, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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.08809/0.08809, allocations: 11.36 MB / 270.5 MB, free: 2.594 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.CheckDerivativeSetState,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 398.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.041e-05/4.292e-05, allocations: 2.281 kB / 398.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState): time 0.3534/0.3534, allocations: 52.67 MB / 450.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.06963/0.423, allocations: 47.81 MB / 498.6 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.4235, allocations: 4 kB / 498.6 MB, free: 13.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.4249, allocations: 343.2 kB / 498.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06861/0.4935, allocations: 17.02 MB / 0.5039 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02549/0.519, allocations: 6.776 MB / 0.5105 GB, free: 4.961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.09814/0.6171, allocations: 59.84 MB / 0.5689 GB, free: 8.992 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.6172, allocations: 9.719 kB / 0.5689 GB, free: 8.984 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.6179, allocations: 335.2 kB / 0.5693 GB, free: 8.656 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3896/1.008, allocations: 25.77 MB / 0.5944 GB, free: 88.69 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/1.008, allocations: 16.78 kB / 0.5944 GB, free: 88.68 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05188/1.06, allocations: 18.92 MB / 0.6129 GB, free: 85.94 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003046/1.06, allocations: 270.6 kB / 0.6132 GB, free: 85.86 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003971/1.06, allocations: 208.4 kB / 0.6134 GB, free: 85.81 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04017/1.1, allocations: 9.624 MB / 0.6228 GB, free: 80 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.1, allocations: 4 kB / 0.6228 GB, free: 80 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.1, allocations: 0 / 0.6228 GB, free: 80 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/1.1, allocations: 0 / 0.6228 GB, free: 80 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004605/1.105, allocations: 2.24 MB / 0.625 GB, free: 77.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.105, allocations: 12.02 kB / 0.625 GB, free: 77.81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.106, allocations: 256 kB / 0.6252 GB, free: 77.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/1.107, allocations: 417.8 kB / 0.6256 GB, free: 77.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/1.107, allocations: 47.94 kB / 0.6257 GB, free: 77.17 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/1.107, allocations: 98.19 kB / 0.6258 GB, free: 77.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/1.108, allocations: 1.166 MB / 0.6269 GB, free: 76.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.108, allocations: 0 / 0.6269 GB, free: 76.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/1.108, allocations: 17.5 kB / 0.6269 GB, free: 76.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/1.108, allocations: 56.02 kB / 0.627 GB, free: 76.15 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/1.11, allocations: 1.203 MB / 0.6281 GB, free: 75.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/1.114, allocations: 1.695 MB / 0.6298 GB, free: 73.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/1.115, allocations: 1.13 MB / 0.6309 GB, free: 72.97 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/1.116, allocations: 0.5112 MB / 0.6314 GB, free: 72.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03863/1.154, allocations: 25.26 MB / 0.6561 GB, free: 51.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/1.156, allocations: 1.048 MB / 0.6571 GB, free: 50.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=124): time 4.438e-06/1.156, allocations: 3.938 kB / 0.6571 GB, free: 50.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=161): time 0.02894/1.185, allocations: 8.64 MB / 0.6655 GB, free: 42.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/1.185, allocations: 98.41 kB / 0.6656 GB, free: 42.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/1.186, allocations: 0.5573 MB / 0.6662 GB, free: 41.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002254/1.186, allocations: 61.7 kB / 0.6662 GB, free: 41.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/1.186, allocations: 202.5 kB / 0.6664 GB, free: 41.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/1.187, allocations: 0.6024 MB / 0.667 GB, free: 40.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00066/1.187, allocations: 483.6 kB / 0.6675 GB, free: 40.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/1.187, allocations: 324.2 kB / 0.6678 GB, free: 39.97 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/1.189, allocations: 1.075 MB / 0.6688 GB, free: 38.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/1.19, allocations: 1.3 MB / 0.6701 GB, free: 37.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/1.194, allocations: 2.504 MB / 0.6725 GB, free: 34.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/1.194, allocations: 0 / 0.6725 GB, free: 34.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00425/1.198, allocations: 2.959 MB / 0.6754 GB, free: 31.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/1.198, allocations: 37.64 kB / 0.6755 GB, free: 31.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.198, allocations: 6.156 kB / 0.6755 GB, free: 31.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-05/1.198, allocations: 13.88 kB / 0.6755 GB, free: 31.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/1.199, allocations: 477.7 kB / 0.6759 GB, free: 31.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.355e-05/1.199, allocations: 15.75 kB / 0.676 GB, free: 31.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/1.2, allocations: 36 kB / 0.676 GB, free: 31.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/1.2, allocations: 135.9 kB / 0.6761 GB, free: 31.26 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 (s0.phase,s1.phase,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 229 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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 0.0007266/1.201, allocations: 340 kB / 0.6764 GB, free: 30.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/1.202, allocations: 103.3 kB / 0.6765 GB, free: 30.83 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/1.219, allocations: 19.06 MB / 0.6952 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/1.219, allocations: 43 kB / 0.6952 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.219, allocations: 4 kB / 0.6952 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.58e-05/1.219, allocations: 11.91 kB / 0.6952 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/1.242, allocations: 22.32 MB / 0.717 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.242, allocations: 2.25 kB / 0.717 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/1.243, allocations: 387.5 kB / 0.7174 GB, free: 5.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-05/1.244, allocations: 8 kB / 0.7174 GB, free: 5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002598/1.244, allocations: 83.86 kB / 0.7175 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.153e-05/1.244, allocations: 4 kB / 0.7175 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.244, allocations: 8.969 kB / 0.7175 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03304/1.277, allocations: 25.89 MB / 0.7428 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/1.278, allocations: 360.3 kB / 0.7431 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004048/1.278, allocations: 47.98 kB / 0.7432 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/1.279, allocations: 41.48 kB / 0.7432 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/1.28, allocations: 145.7 kB / 0.7433 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002679/1.28, allocations: 83.94 kB / 0.7434 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006154/1.28, allocations: 354.8 kB / 0.7437 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/1.28, allocations: 3 kB / 0.7438 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008637/1.289, allocations: 2.141 MB / 0.7458 GB, free: 7.789 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 43 (y_int[1],y_int[2],y_int[3],y_int[4],y_int[5],y_int[6],y_int[7],y_int[8],y_int[9],y_int[10],y_int[11],y_int[12],y_int[13],y_int[14],y_int[15],y_int[16],y_int[17],y_int[18],y_int[19],y_int[20],y_int[21],y_int[22],y_int[23],y_int[24],y_int[25],y_int[26],y_int[27],y_int[28],y_int[29],y_int[30],y_int[31],y_int[32],y_int[33],y_int[34],y_int[35],y_int[36],y_int[37],y_int[38],y_int[39],y_int[40],y_int[41],y_int[42],y_int[43]) * Number of discrete variables: 11 ($cse1.phase,$cse2.sat.vap.phase,$cse2.sat.liq.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase,$cse50.phase,$cse51.phase,$cse52.phase,$whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (213): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 9 * 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.01538/1.304, allocations: 3.697 MB / 0.7495 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01392/1.318, allocations: 8.966 MB / 0.7582 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.318, allocations: 256 / 0.7582 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01018/1.329, allocations: 7.418 MB / 0.7655 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/1.331, allocations: 212.6 kB / 0.7657 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2666/1.597, allocations: 9.712 MB / 0.7751 GB, free: 218.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009765/1.598, allocations: 0.6445 MB / 0.7758 GB, free: 218.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003304/1.601, allocations: 1.628 MB / 0.7774 GB, free: 218.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007338/1.602, allocations: 227 kB / 0.7776 GB, free: 218.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/1.602, allocations: 1.5 kB / 0.7776 GB, free: 218.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.1032/1.705, allocations: 89.87 MB / 0.8653 GB, free: 140.5 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.532671433873475]