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.0007137/0.0007137, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009904/0.001704, 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.0007013/0.0007013, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000926/0.001627, 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.93/0.93, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08934/1.019, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.04466/0.04466, allocations: 11.71 MB / 255.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006171/0.05083, allocations: 3.077 MB / 258.8 MB, free: 0.8125 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.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.335e-06/2.335e-06, allocations: 0 / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.837e-05, allocations: 2.312 kB / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState): time 0.178/0.1781, allocations: 58.86 MB / 318.9 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03737/0.2154, allocations: 54.95 MB / 373.9 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.2157, allocations: 7.938 kB / 373.9 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007445/0.2164, allocations: 354.2 kB / 374.2 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03468/0.2511, allocations: 16.48 MB / 390.7 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01186/0.263, allocations: 6.328 MB / 397 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1924/0.4553, allocations: 55.14 MB / 452.2 MB, free: 51.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.4554, allocations: 13.75 kB / 452.2 MB, free: 51.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.4559, allocations: 377.8 kB / 452.6 MB, free: 51.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.4673, allocations: 17.01 MB / 469.6 MB, free: 39.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.4674, allocations: 12 kB / 469.6 MB, free: 39.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03029/0.4977, allocations: 21 MB / 490.6 MB, free: 24.64 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.4978, allocations: 248.1 kB / 490.8 MB, free: 24.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.4981, allocations: 151.5 kB / 491 MB, free: 24.29 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02901/0.5271, allocations: 8.359 MB / 499.3 MB, free: 17.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.246e-05/0.5271, allocations: 0 / 499.3 MB, free: 17.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5271, allocations: 0 / 499.3 MB, free: 17.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.5272, allocations: 4 kB / 499.3 MB, free: 17.78 MB / 394.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.003944/0.5311, allocations: 3.063 MB / 0.4906 GB, free: 14.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5311, allocations: 12.03 kB / 0.4906 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/0.5319, allocations: 382.2 kB / 0.491 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.5323, allocations: 460.2 kB / 0.4914 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.5324, allocations: 40.12 kB / 0.4915 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.5325, allocations: 95.42 kB / 0.4916 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.533, allocations: 0.734 MB / 0.4923 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.533, allocations: 0 / 0.4923 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.533, allocations: 19.69 kB / 0.4923 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.5331, allocations: 52.09 kB / 0.4923 GB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.5335, allocations: 0.5415 MB / 0.4929 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.535, allocations: 1.166 MB / 0.494 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.5355, allocations: 0.7525 MB / 0.4947 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.5357, allocations: 213.2 kB / 0.495 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06034/0.596, allocations: 55.97 MB / 0.5496 GB, free: 8.473 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007962/0.5968, allocations: 0.616 MB / 0.5502 GB, free: 7.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=124): time 3.476e-06/0.5968, allocations: 4 kB / 0.5502 GB, free: 7.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=161): time 0.01965/0.6165, allocations: 7.045 MB / 0.5571 GB, free: 1.113 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.6165, allocations: 98.42 kB / 0.5572 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.6168, allocations: 492.3 kB / 0.5577 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.532e-05/0.6169, allocations: 61.7 kB / 0.5577 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.617, allocations: 182 kB / 0.5579 GB, free: 380 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.6173, allocations: 0.606 MB / 0.5585 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.6176, allocations: 455.7 kB / 0.5589 GB, free: 15.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.6177, allocations: 320.7 kB / 0.5592 GB, free: 15.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.6181, allocations: 412.7 kB / 0.5596 GB, free: 14.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.6185, allocations: 0.602 MB / 0.5602 GB, free: 14.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.6197, allocations: 1.249 MB / 0.5614 GB, free: 12.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6197, allocations: 1.875 kB / 0.5614 GB, free: 12.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001221/0.621, allocations: 1.475 MB / 0.5629 GB, free: 11.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.621, allocations: 29.7 kB / 0.5629 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.621, allocations: 4 kB / 0.5629 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.621, allocations: 12 kB / 0.5629 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000962/0.622, allocations: 0.6152 MB / 0.5635 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.622, allocations: 12 kB / 0.5635 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.6223, allocations: 44.88 kB / 0.5636 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.6224, allocations: 107.9 kB / 0.5637 GB, free: 10.48 MB / 458.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.0002366/0.6226, allocations: 233.2 kB / 0.5639 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.6228, allocations: 116 kB / 0.564 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005826/0.6286, allocations: 7.881 MB / 0.5717 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/0.6286, allocations: 43.23 kB / 0.5717 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6286, allocations: 1.688 kB / 0.5717 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.6286, allocations: 10.03 kB / 0.5717 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1466/0.7752, allocations: 8.343 MB / 0.5799 GB, free: 136.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.7753, allocations: 0 / 0.5799 GB, free: 136.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.7765, allocations: 446.7 kB / 0.5803 GB, free: 136.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.777, allocations: 292.1 kB / 0.5806 GB, free: 136.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.777, allocations: 9.375 kB / 0.5806 GB, free: 136.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.185e-05/0.7771, allocations: 65.17 kB / 0.5807 GB, free: 136.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.7771, allocations: 7.766 kB / 0.5807 GB, free: 136.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7771, allocations: 1.281 kB / 0.5807 GB, free: 136.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/0.782, allocations: 6.993 MB / 0.5875 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.7821, allocations: 48.59 kB / 0.5876 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.7825, allocations: 34.89 kB / 0.5876 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.7827, allocations: 134.5 kB / 0.5877 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.7828, allocations: 59.17 kB / 0.5878 GB, free: 135.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.783, allocations: 191.3 kB / 0.588 GB, free: 135.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.783, allocations: 0 / 0.588 GB, free: 135.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004792/0.7878, allocations: 2.248 MB / 0.5902 GB, free: 135.9 MB / 458.7 MB 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.007516/0.7953, allocations: 4.261 MB / 0.5943 GB, free: 135.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002438/0.7977, allocations: 3.143 MB / 0.5974 GB, free: 135.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-05/0.7978, allocations: 13.91 kB / 0.5974 GB, free: 135.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.7992, allocations: 2.434 MB / 0.5998 GB, free: 135.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.8, allocations: 410 kB / 0.6002 GB, free: 135.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.8065, allocations: 4.385 MB / 0.6044 GB, free: 132.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.8067, allocations: 338.9 kB / 0.6048 GB, free: 132.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001178/0.8079, allocations: 1.303 MB / 0.606 GB, free: 131.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009452/0.8088, allocations: 0.5569 MB / 0.6066 GB, free: 131.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/0.8088, allocations: 4 kB / 0.6066 GB, free: 131.4 MB / 458.7 MB Notification: Performance of Templates: time 0.08232/0.8911, allocations: 108.9 MB / 0.713 GB, free: 31.95 MB / 458.7 MB " [Timeout remaining time 659] 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: 5.699177083559334]