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.000657/0.000657, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009129/0.00157, allocations: 440 kB / 10.41 MB, free: 284 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.0006906/0.0006906, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009126/0.001603, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9488/0.9488, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.052, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.04585/0.04585, allocations: 11.73 MB / 255.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005392/0.05125, allocations: 3.092 MB / 259 MB, free: 0.6992 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.152e-06/1.152e-06, allocations: 0 / 260.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.187e-05, allocations: 6.312 kB / 260.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations): time 0.1734/0.1734, allocations: 59.12 MB / 319.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03802/0.2115, allocations: 54.16 MB / 373.6 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.2117, allocations: 8 kB / 373.6 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008634/0.2125, allocations: 354 kB / 373.9 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04123/0.2538, allocations: 19.83 MB / 393.7 MB, free: 13.55 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.006462/0.2602, allocations: 3.492 MB / 397.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1978/0.458, allocations: 64.86 MB / 462.1 MB, free: 46.44 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.4581, allocations: 16.08 kB / 462.1 MB, free: 46.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.4584, allocations: 337.3 kB / 462.4 MB, free: 46.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01253/0.4709, allocations: 20.78 MB / 483.2 MB, free: 26.61 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.471, allocations: 8 kB / 483.2 MB, free: 26.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03424/0.5052, allocations: 23.86 MB / 0.4952 GB, free: 9.441 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.5054, allocations: 137.3 kB / 0.4953 GB, free: 9.328 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.5056, allocations: 123.6 kB / 0.4954 GB, free: 9.207 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02494/0.5305, allocations: 9.426 MB / 0.5047 GB, free: 1.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.5306, allocations: 0 / 0.5047 GB, free: 1.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5306, allocations: 0 / 0.5047 GB, free: 1.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.5306, allocations: 4 kB / 0.5047 GB, free: 1.629 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.003194/0.5338, allocations: 3.32 MB / 0.5079 GB, free: 14.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.5338, allocations: 8.031 kB / 0.5079 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.5341, allocations: 209.1 kB / 0.5081 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.5346, allocations: 273.6 kB / 0.5084 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.5346, allocations: 28.19 kB / 0.5084 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.5347, allocations: 64.06 kB / 0.5085 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.535, allocations: 344.3 kB / 0.5088 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.535, allocations: 0 / 0.5088 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.535, allocations: 15.06 kB / 0.5088 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.5351, allocations: 47.38 kB / 0.5088 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.5353, allocations: 194.6 kB / 0.509 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009811/0.5363, allocations: 0.7354 MB / 0.5097 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.5367, allocations: 0.5648 MB / 0.5103 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.5368, allocations: 107.5 kB / 0.5104 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6358/1.173, allocations: 319.5 MB / 0.8224 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/1.173, allocations: 370.7 kB / 0.8228 GB, free: 105 MB / 458.7 MB Notification: Performance of pre-optimization done (n=74): time 2.855e-06/1.173, allocations: 4 kB / 0.8228 GB, free: 105 MB / 458.7 MB Notification: Performance of matching and sorting (n=102): time 0.03767/1.211, allocations: 18.75 MB / 0.8411 GB, free: 86.53 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/1.211, allocations: 64.41 kB / 0.8412 GB, free: 86.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/1.211, allocations: 340.9 kB / 0.8415 GB, free: 86.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/1.211, allocations: 53.7 kB / 0.8415 GB, free: 86.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/1.211, allocations: 143 kB / 0.8417 GB, free: 85.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/1.211, allocations: 381.8 kB / 0.842 GB, free: 85.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/1.211, allocations: 352.3 kB / 0.8424 GB, free: 85.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.812e-05/1.211, allocations: 378.6 kB / 0.8427 GB, free: 84.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/1.212, allocations: 376.1 kB / 0.8431 GB, free: 84.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/1.212, allocations: 0.4953 MB / 0.8436 GB, free: 84.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/1.213, allocations: 0.984 MB / 0.8445 GB, free: 83.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.213, allocations: 0 / 0.8445 GB, free: 83.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0008226/1.214, allocations: 1.049 MB / 0.8456 GB, free: 82.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/1.214, allocations: 33.7 kB / 0.8456 GB, free: 82.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.214, allocations: 0 / 0.8456 GB, free: 82.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.214, allocations: 8.875 kB / 0.8456 GB, free: 82.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/1.214, allocations: 0.5487 MB / 0.8461 GB, free: 81.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.214, allocations: 11.38 kB / 0.8462 GB, free: 81.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/1.215, allocations: 28 kB / 0.8462 GB, free: 81.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.215, allocations: 95.89 kB / 0.8463 GB, free: 81.35 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 (161): * Single equations (assignments): 160 * Array equations: 0 * 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.0001902/1.215, allocations: 206.4 kB / 0.8465 GB, free: 81.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.215, allocations: 67.94 kB / 0.8465 GB, free: 81.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00822/1.223, allocations: 15.49 MB / 0.8617 GB, free: 65.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.955e-05/1.223, allocations: 111.4 kB / 0.8618 GB, free: 65.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.223, allocations: 4 kB / 0.8618 GB, free: 65.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.223, allocations: 8.531 kB / 0.8618 GB, free: 65.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/1.23, allocations: 12.74 MB / 0.8742 GB, free: 53.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.23, allocations: 4 kB / 0.8742 GB, free: 53.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/1.231, allocations: 301.3 kB / 0.8745 GB, free: 52.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/1.231, allocations: 467 kB / 0.875 GB, free: 52.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.231, allocations: 4 kB / 0.875 GB, free: 52.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/1.231, allocations: 43.95 kB / 0.875 GB, free: 52.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/1.231, allocations: 4 kB / 0.875 GB, free: 52.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.231, allocations: 0 / 0.875 GB, free: 52.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005796/1.237, allocations: 10.89 MB / 0.8856 GB, free: 41.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/1.237, allocations: 30.62 kB / 0.8857 GB, free: 41.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.237, allocations: 35.98 kB / 0.8857 GB, free: 41.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/1.237, allocations: 89.11 kB / 0.8858 GB, free: 41.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.123e-05/1.237, allocations: 40.52 kB / 0.8858 GB, free: 41.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.184e-05/1.237, allocations: 128 kB / 0.886 GB, free: 41.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/1.237, allocations: 0 / 0.886 GB, free: 41.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005362/1.243, allocations: 3.216 MB / 0.8891 GB, free: 37.98 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.007589/1.25, allocations: 5.456 MB / 0.8944 GB, free: 33.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002272/1.253, allocations: 3.61 MB / 0.8979 GB, free: 29.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.056e-05/1.253, allocations: 12 kB / 0.898 GB, free: 29.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/1.254, allocations: 3.168 MB / 0.9011 GB, free: 26.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008731/1.255, allocations: 1.179 MB / 0.9022 GB, free: 25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00707/1.262, allocations: 6.725 MB / 0.9088 GB, free: 18.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/1.262, allocations: 0.5644 MB / 0.9093 GB, free: 17.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001232/1.264, allocations: 1.868 MB / 0.9111 GB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007775/1.264, allocations: 496.2 kB / 0.9116 GB, free: 15.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/1.264, allocations: 0 / 0.9116 GB, free: 15.45 MB / 458.7 MB Notification: Performance of Templates: time 0.2418/1.506, allocations: 123.6 MB / 1.032 GB, free: 60.48 MB / 458.7 MB " [Timeout remaining time 658] 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.671720051206648]