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.001209/0.001209, allocations: 83.75 kB / 20.12 MB, free: 4.145 MB / 18.57 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.001239/0.001239, allocations: 168.5 kB / 23.56 MB, free: 0.7031 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 0.993/0.993, allocations: 177.1 MB / 204 MB, free: 5.398 MB / 186.7 MB " [Timeout remaining time 179] 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.05239/0.05239, allocations: 11.7 MB / 272.2 MB, free: 1.816 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.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.423e-06/1.423e-06, allocations: 0 / 291.5 MB, free: 17.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.791e-05, allocations: 4.5 kB / 291.6 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations): time 0.04178/0.0418, allocations: 59.29 MB / 350.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03748/0.07928, allocations: 52.98 MB / 403.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.07959, allocations: 7.938 kB / 403.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.08059, allocations: 358.2 kB / 404.2 MB, free: 7.387 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0409/0.1215, allocations: 19.56 MB / 423.7 MB, free: 3.727 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Internal/Transport/thermalConductivity_dilute.mo:2:1-86: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.007462/0.1289, allocations: 3.517 MB / 427.3 MB, free: 200 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1962/0.3251, allocations: 59.13 MB / 486.4 MB, free: 38.78 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.193e-05/0.3252, allocations: 17.48 kB / 486.4 MB, free: 38.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003616/0.3255, allocations: 300.2 kB / 486.7 MB, free: 38.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01552/0.3411, allocations: 25.52 MB / 0.5002 GB, free: 17.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.3411, allocations: 8 kB / 0.5002 GB, free: 17.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02928/0.3704, allocations: 23.04 MB / 0.5227 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.3706, allocations: 149.4 kB / 0.5229 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.3708, allocations: 148.7 kB / 0.523 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02993/0.4008, allocations: 10.87 MB / 0.5336 GB, free: 8.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4008, allocations: 8 kB / 0.5336 GB, free: 8.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4008, allocations: 0 / 0.5336 GB, free: 8.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.4008, allocations: 3.938 kB / 0.5336 GB, free: 8.371 MB / 410.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.00389/0.4047, allocations: 2.326 MB / 0.5359 GB, free: 6.098 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4047, allocations: 12.03 kB / 0.5359 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.405, allocations: 118.9 kB / 0.536 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.4054, allocations: 280.8 kB / 0.5363 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.4054, allocations: 30.22 kB / 0.5363 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/0.4055, allocations: 54.8 kB / 0.5364 GB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.4059, allocations: 352.9 kB / 0.5367 GB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4059, allocations: 0 / 0.5367 GB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.406, allocations: 13.88 kB / 0.5367 GB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.406, allocations: 28.52 kB / 0.5367 GB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.4062, allocations: 193.8 kB / 0.5369 GB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008989/0.4071, allocations: 0.6771 MB / 0.5376 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.4076, allocations: 0.5681 MB / 0.5382 GB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4077, allocations: 106.3 kB / 0.5383 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.722/1.13, allocations: 281.1 MB / 0.8128 GB, free: 132.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/1.13, allocations: 388.1 kB / 0.8131 GB, free: 132.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=74): time 3.457e-06/1.13, allocations: 0 / 0.8131 GB, free: 132.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=102): time 0.03394/1.164, allocations: 15.03 MB / 0.8278 GB, free: 119.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.164, allocations: 111.8 kB / 0.8279 GB, free: 119 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/1.164, allocations: 348.7 kB / 0.8283 GB, free: 118.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.015e-05/1.164, allocations: 47.95 kB / 0.8283 GB, free: 118.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/1.165, allocations: 141.5 kB / 0.8284 GB, free: 118.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/1.165, allocations: 377.5 kB / 0.8288 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/1.165, allocations: 306.9 kB / 0.8291 GB, free: 118.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/1.165, allocations: 378.1 kB / 0.8294 GB, free: 117.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/1.165, allocations: 386.3 kB / 0.8298 GB, free: 117.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/1.166, allocations: 480.4 kB / 0.8303 GB, free: 116.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007619/1.166, allocations: 0.9962 MB / 0.8312 GB, free: 115.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.166, allocations: 0 / 0.8312 GB, free: 115.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0009014/1.167, allocations: 1.085 MB / 0.8323 GB, free: 114.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/1.167, allocations: 33.7 kB / 0.8323 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.167, allocations: 0 / 0.8323 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.167, allocations: 8.188 kB / 0.8323 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/1.168, allocations: 369.9 kB / 0.8327 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.168, allocations: 11.75 kB / 0.8327 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/1.168, allocations: 19.44 kB / 0.8327 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.168, allocations: 82.59 kB / 0.8328 GB, free: 114.5 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.0002202/1.169, allocations: 202 kB / 0.833 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/1.169, allocations: 65.17 kB / 0.8331 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007985/1.177, allocations: 14.97 MB / 0.8477 GB, free: 99.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.218e-05/1.177, allocations: 109.8 kB / 0.8478 GB, free: 99.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.177, allocations: 4.562 kB / 0.8478 GB, free: 99.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.177, allocations: 10.58 kB / 0.8478 GB, free: 99.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006794/1.184, allocations: 12.75 MB / 0.8603 GB, free: 87.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.184, allocations: 0 / 0.8603 GB, free: 87.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/1.184, allocations: 267.6 kB / 0.8605 GB, free: 87.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/1.184, allocations: 4 kB / 0.8605 GB, free: 87.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/1.184, allocations: 43.52 kB / 0.8606 GB, free: 87.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.184, allocations: 11.55 kB / 0.8606 GB, free: 87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.184, allocations: 5.219 kB / 0.8606 GB, free: 87 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005986/1.19, allocations: 10.8 MB / 0.8711 GB, free: 76.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/1.191, allocations: 462.7 kB / 0.8716 GB, free: 75.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/1.191, allocations: 31.98 kB / 0.8716 GB, free: 75.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/1.191, allocations: 31.98 kB / 0.8716 GB, free: 75.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/1.191, allocations: 89.11 kB / 0.8717 GB, free: 75.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/1.191, allocations: 39.97 kB / 0.8717 GB, free: 75.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/1.191, allocations: 125.6 kB / 0.8719 GB, free: 75.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/1.191, allocations: 7.75 kB / 0.8719 GB, free: 75.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006029/1.197, allocations: 3.11 MB / 0.8749 GB, free: 72.4 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.01009/1.207, allocations: 5.013 MB / 0.8798 GB, free: 67.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002773/1.21, allocations: 3.552 MB / 0.8833 GB, free: 64.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.21, allocations: 4 kB / 0.8833 GB, free: 64.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/1.212, allocations: 3.072 MB / 0.8863 GB, free: 61.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000946/1.213, allocations: 239.5 kB / 0.8865 GB, free: 61.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/1.217, allocations: 6.789 MB / 0.8931 GB, free: 54.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/1.217, allocations: 0.5565 MB / 0.8937 GB, free: 53.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001222/1.219, allocations: 1.712 MB / 0.8953 GB, free: 52.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007057/1.219, allocations: 402.1 kB / 0.8957 GB, free: 51.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.463e-06/1.219, allocations: 0 / 0.8957 GB, free: 51.8 MB / 458.7 MB Notification: Performance of Templates: time 0.2607/1.48, allocations: 122.9 MB / 1.016 GB, free: 98.78 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: 9.05179347936064]