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.0008326/0.0008326, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.0008416/0.0008416, allocations: 169.4 kB / 24.23 MB, free: 240 kB / 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.866/0.866, allocations: 177.1 MB / 204.7 MB, free: 5.449 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.04393/0.04393, allocations: 11.41 MB / 272.6 MB, free: 2.176 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.472e-06/1.472e-06, allocations: 0 / 291.7 MB, free: 17.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.215e-05, allocations: 5.031 kB / 291.7 MB, free: 17.72 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations): time 0.03741/0.03742, allocations: 59.2 MB / 350.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0329/0.07032, allocations: 52.09 MB / 403 MB, free: 9.551 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.07057, allocations: 4 kB / 403 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008295/0.0714, allocations: 342.2 kB / 403.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03891/0.1103, allocations: 19.58 MB / 422.9 MB, free: 5.539 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.006588/0.1169, allocations: 3.288 MB / 426.2 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1776/0.2945, allocations: 59.11 MB / 485.3 MB, free: 41.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.2945, allocations: 21.22 kB / 485.4 MB, free: 41.15 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.2948, allocations: 296.9 kB / 485.6 MB, free: 41.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01414/0.309, allocations: 25.53 MB / 0.4992 GB, free: 19.97 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.659e-05/0.309, allocations: 8 kB / 0.4992 GB, free: 19.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03091/0.34, allocations: 22.82 MB / 0.5215 GB, free: 2.973 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3401, allocations: 144.9 kB / 0.5216 GB, free: 2.863 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.3403, allocations: 155.2 kB / 0.5218 GB, free: 2.738 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02265/0.3629, allocations: 10.76 MB / 0.5323 GB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3629, allocations: 0 / 0.5323 GB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3629, allocations: 0 / 0.5323 GB, free: 11.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.3629, allocations: 0 / 0.5323 GB, free: 11.45 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.003333/0.3663, allocations: 2.303 MB / 0.5345 GB, free: 9.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3663, allocations: 12.03 kB / 0.5346 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.3666, allocations: 127 kB / 0.5347 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3669, allocations: 279.4 kB / 0.5349 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3669, allocations: 31 kB / 0.535 GB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.367, allocations: 53.95 kB / 0.535 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.3673, allocations: 348.3 kB / 0.5354 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3673, allocations: 2.25 kB / 0.5354 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.3673, allocations: 18.59 kB / 0.5354 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.3673, allocations: 28.64 kB / 0.5354 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.3676, allocations: 190.8 kB / 0.5356 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.3684, allocations: 0.6687 MB / 0.5362 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.3688, allocations: 0.5717 MB / 0.5368 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.3689, allocations: 110.3 kB / 0.5369 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5862/0.9551, allocations: 281 MB / 0.8114 GB, free: 136.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004236/0.9555, allocations: 380.9 kB / 0.8117 GB, free: 135.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=74): time 2.565e-06/0.9555, allocations: 0 / 0.8117 GB, free: 135.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=102): time 0.03219/0.9877, allocations: 14.27 MB / 0.8257 GB, free: 123.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.9878, allocations: 115.8 kB / 0.8258 GB, free: 123.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.9879, allocations: 352.2 kB / 0.8261 GB, free: 123.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/0.988, allocations: 44.7 kB / 0.8262 GB, free: 123.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.9881, allocations: 135.2 kB / 0.8263 GB, free: 123.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.9882, allocations: 383.6 kB / 0.8266 GB, free: 123 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.9885, allocations: 309 kB / 0.8269 GB, free: 122.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.9885, allocations: 381.7 kB / 0.8273 GB, free: 122.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.9888, allocations: 389.6 kB / 0.8277 GB, free: 122.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.9892, allocations: 486.7 kB / 0.8281 GB, free: 121.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.9899, allocations: 0.9964 MB / 0.8291 GB, free: 120.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.9899, allocations: 0 / 0.8291 GB, free: 120.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0008818/0.9908, allocations: 1.083 MB / 0.8302 GB, free: 119.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.9908, allocations: 33.7 kB / 0.8302 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9908, allocations: 0.5469 kB / 0.8302 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9908, allocations: 12.19 kB / 0.8302 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.9914, allocations: 362.1 kB / 0.8306 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9914, allocations: 8 kB / 0.8306 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.9917, allocations: 25.75 kB / 0.8306 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.9917, allocations: 83.09 kB / 0.8307 GB, free: 119.2 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.0001739/0.9919, allocations: 192.3 kB / 0.8309 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.992, allocations: 70.36 kB / 0.8309 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008176/1, allocations: 14.97 MB / 0.8455 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.531e-05/1, allocations: 108.8 kB / 0.8456 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/1, allocations: 0 / 0.8456 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1, allocations: 3.984 kB / 0.8456 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006376/1.007, allocations: 12.75 MB / 0.8581 GB, free: 92.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.007, allocations: 4 kB / 0.8581 GB, free: 92.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/1.007, allocations: 265.6 kB / 0.8584 GB, free: 92.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.007, allocations: 5.828 kB / 0.8584 GB, free: 92.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/1.007, allocations: 39.95 kB / 0.8584 GB, free: 92.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/1.007, allocations: 16.56 kB / 0.8584 GB, free: 92.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.007, allocations: 7.75 kB / 0.8584 GB, free: 92.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/1.013, allocations: 10.79 MB / 0.869 GB, free: 81.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/1.013, allocations: 463.8 kB / 0.8694 GB, free: 80.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/1.013, allocations: 36.73 kB / 0.8694 GB, free: 80.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/1.014, allocations: 31.98 kB / 0.8695 GB, free: 80.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/1.014, allocations: 89.11 kB / 0.8696 GB, free: 80.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/1.014, allocations: 39.25 kB / 0.8696 GB, free: 80.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.299e-05/1.014, allocations: 127.6 kB / 0.8697 GB, free: 80.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.014, allocations: 4 kB / 0.8697 GB, free: 80.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00479/1.019, allocations: 2.979 MB / 0.8726 GB, free: 77.62 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.006264/1.025, allocations: 4.816 MB / 0.8773 GB, free: 73.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001923/1.027, allocations: 3.547 MB / 0.8808 GB, free: 69.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.027, allocations: 4 kB / 0.8808 GB, free: 69.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.028, allocations: 3.073 MB / 0.8838 GB, free: 66.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/1.029, allocations: 254.4 kB / 0.884 GB, free: 66.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/1.033, allocations: 6.785 MB / 0.8907 GB, free: 59.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/1.033, allocations: 0.5565 MB / 0.8912 GB, free: 59.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00108/1.034, allocations: 1.713 MB / 0.8929 GB, free: 57.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/1.035, allocations: 406.4 kB / 0.8933 GB, free: 57.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.051e-06/1.035, allocations: 0 / 0.8933 GB, free: 57.2 MB / 458.7 MB Notification: Performance of Templates: time 0.2093/1.244, allocations: 119.2 MB / 1.01 GB, free: 108.4 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: 7.888693639077246]