Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations.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.001142/0.001142, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002321, 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.0007403/0.0007403, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009961/0.001736, 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.9514/0.9514, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08356/1.035, 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.04706/0.04706, allocations: 11.71 MB / 255.7 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005123/0.05218, allocations: 3.088 MB / 258.8 MB, free: 0.8164 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.CheckDerivativeAnnotations,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.28e-05, allocations: 10.19 kB / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations): time 0.1565/0.1565, allocations: 59.08 MB / 319.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04446/0.201, allocations: 54.15 MB / 373.3 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.2012, allocations: 0 / 373.3 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.2019, allocations: 362.1 kB / 373.7 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03904/0.241, allocations: 19.8 MB / 393.5 MB, free: 13.82 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/Interfaces/PartialHelmholtzMedium/Internal/Transport/thermalConductivity_dilute.mo:2:1-85:31:writable] Warning: Pure function 'HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations.Medium.Internal.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.006163/0.2471, allocations: 3.497 MB / 396.9 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.171/0.4182, allocations: 55.12 MB / 452.1 MB, free: 51.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.207e-05/0.4182, allocations: 18.55 kB / 452.1 MB, free: 51.64 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.4186, allocations: 336.3 kB / 452.4 MB, free: 51.57 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.4294, allocations: 16.99 MB / 469.4 MB, free: 40.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.4294, allocations: 8 kB / 469.4 MB, free: 40.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03238/0.4618, allocations: 23.79 MB / 493.2 MB, free: 23.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4619, allocations: 133.7 kB / 493.3 MB, free: 22.94 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.4621, allocations: 118 kB / 493.5 MB, free: 22.83 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02315/0.4853, allocations: 9.432 MB / 0.4911 GB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.516e-05/0.4853, allocations: 0 / 0.4911 GB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4853, allocations: 0 / 0.4911 GB, free: 15.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.4853, allocations: 0 / 0.4911 GB, free: 15.39 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003115/0.4885, allocations: 3.334 MB / 0.4944 GB, free: 12.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.4885, allocations: 8.031 kB / 0.4944 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.4888, allocations: 194.6 kB / 0.4945 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.489, allocations: 278.1 kB / 0.4948 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.489, allocations: 32.58 kB / 0.4948 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.4891, allocations: 60.31 kB / 0.4949 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.4893, allocations: 349.6 kB / 0.4952 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4893, allocations: 0 / 0.4952 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.4893, allocations: 7.938 kB / 0.4952 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.4894, allocations: 29.83 kB / 0.4953 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.4895, allocations: 188.7 kB / 0.4955 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.4903, allocations: 0.6692 MB / 0.4961 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.4906, allocations: 0.5614 MB / 0.4967 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.4907, allocations: 110.5 kB / 0.4968 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5959/1.087, allocations: 319.1 MB / 0.8084 GB, free: 119.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/1.087, allocations: 369.9 kB / 0.8087 GB, free: 119.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=74): time 2.976e-06/1.087, allocations: 0 / 0.8087 GB, free: 119.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=102): time 0.03605/1.123, allocations: 17.91 MB / 0.8262 GB, free: 101.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/1.123, allocations: 94.11 kB / 0.8263 GB, free: 101.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/1.123, allocations: 336.4 kB / 0.8266 GB, free: 101.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/1.123, allocations: 53.7 kB / 0.8267 GB, free: 101.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/1.123, allocations: 142 kB / 0.8268 GB, free: 101.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/1.123, allocations: 385.5 kB / 0.8272 GB, free: 100.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/1.124, allocations: 341 kB / 0.8275 GB, free: 100.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/1.124, allocations: 380.8 kB / 0.8279 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/1.124, allocations: 395 kB / 0.8282 GB, free: 99.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/1.124, allocations: 0.4938 MB / 0.8287 GB, free: 99.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006778/1.125, allocations: 1.027 MB / 0.8297 GB, free: 98.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/1.125, allocations: 0 / 0.8297 GB, free: 98.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0008324/1.126, allocations: 1.125 MB / 0.8308 GB, free: 97.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/1.126, allocations: 29.7 kB / 0.8309 GB, free: 97.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.126, allocations: 4 kB / 0.8309 GB, free: 97.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/1.126, allocations: 4 kB / 0.8309 GB, free: 97.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/1.127, allocations: 0.5052 MB / 0.8314 GB, free: 96.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.127, allocations: 17.05 kB / 0.8314 GB, free: 96.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/1.127, allocations: 28.31 kB / 0.8314 GB, free: 96.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.127, allocations: 95.89 kB / 0.8315 GB, free: 96.44 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (s0.phase,s1.phase,$whenCondition1,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 138 * 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.0001848/1.127, allocations: 194.4 kB / 0.8317 GB, free: 96.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.127, allocations: 67.94 kB / 0.8317 GB, free: 96.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007814/1.135, allocations: 15.48 MB / 0.8469 GB, free: 80.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.702e-05/1.135, allocations: 106.1 kB / 0.847 GB, free: 80.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.135, allocations: 3.984 kB / 0.847 GB, free: 80.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/1.135, allocations: 9.078 kB / 0.847 GB, free: 80.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/1.142, allocations: 12.75 MB / 0.8594 GB, free: 68.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.142, allocations: 8.641 kB / 0.8594 GB, free: 68.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/1.142, allocations: 296.4 kB / 0.8597 GB, free: 67.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/1.143, allocations: 456.3 kB / 0.8602 GB, free: 67.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/1.143, allocations: 4 kB / 0.8602 GB, free: 67.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/1.143, allocations: 43.95 kB / 0.8602 GB, free: 67.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.143, allocations: 4 kB / 0.8602 GB, free: 67.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.143, allocations: 7.781 kB / 0.8602 GB, free: 67.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00693/1.15, allocations: 10.81 MB / 0.8708 GB, free: 56.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.15, allocations: 31.41 kB / 0.8708 GB, free: 56.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/1.15, allocations: 31.98 kB / 0.8708 GB, free: 56.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.15, allocations: 93.78 kB / 0.8709 GB, free: 56.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.15, allocations: 41.52 kB / 0.871 GB, free: 56.49 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001194/1.15, allocations: 127.1 kB / 0.8711 GB, free: 56.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.15, allocations: 0 / 0.8711 GB, free: 56.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006888/1.157, allocations: 3.185 MB / 0.8742 GB, free: 53.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 22 (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]) * Number of discrete variables: 25 ($cse3.sat.vap.phase,$cse3.sat.liq.phase,$cse5.phase,$cse6.sat.vap.phase,$cse6.sat.liq.phase,$cse9.phase,$cse10.sat.vap.phase,$cse10.sat.liq.phase,$cse15.phase,$cse16.sat.vap.phase,$cse16.sat.liq.phase,$cse21.phase,$cse22.sat.vap.phase,$cse22.sat.liq.phase,$cse25.phase,$cse26.sat.vap.phase,$cse26.sat.liq.phase,$cse28.phase,$cse29.phase,$cse31.sat.vap.phase,$cse31.sat.liq.phase,$cse33.phase,$cse35.sat.vap.phase,$cse35.sat.liq.phase,$whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * 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.01237/1.17, allocations: 5.446 MB / 0.8795 GB, free: 48.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003557/1.173, allocations: 3.587 MB / 0.883 GB, free: 44.72 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-05/1.173, allocations: 11.98 kB / 0.883 GB, free: 44.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/1.176, allocations: 3.074 MB / 0.886 GB, free: 41.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.177, allocations: 307.2 kB / 0.8863 GB, free: 41.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.188, allocations: 6.733 MB / 0.8929 GB, free: 34.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/1.189, allocations: 0.5603 MB / 0.8934 GB, free: 34.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001947/1.191, allocations: 1.861 MB / 0.8953 GB, free: 32.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.192, allocations: 0.4884 MB / 0.8957 GB, free: 31.87 MB / 458.7 MB Notification: Performance of SimCode: time 1.472e-06/1.192, allocations: 0 / 0.8957 GB, free: 31.87 MB / 458.7 MB Notification: Performance of Templates: time 0.229/1.421, allocations: 124.7 MB / 1.017 GB, free: 75.87 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.469929922372103]