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.0008606/0.0008606, allocations: 79.7 kB / 20.86 MB, free: 3.598 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.00096/0.00096, allocations: 168.5 kB / 24.3 MB, free: 168 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.9319/0.9319, allocations: 177.1 MB / 204.7 MB, free: 5.406 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.04923/0.04923, allocations: 11.7 MB / 272.9 MB, free: 1.84 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.543e-06/1.543e-06, allocations: 0 / 292.2 MB, free: 17.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.793e-05, allocations: 2.969 kB / 292.2 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotations): time 0.04114/0.04116, allocations: 59.29 MB / 351.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0369/0.07806, allocations: 52.98 MB / 404.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.07832, allocations: 4 kB / 404.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.07909, allocations: 350.2 kB / 404.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03731/0.1164, allocations: 19.58 MB / 424.4 MB, free: 3.668 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.006493/0.1229, allocations: 3.507 MB / 427.9 MB, free: 148 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1833/0.3062, allocations: 59.12 MB / 487.1 MB, free: 38.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.3063, allocations: 16.92 kB / 487.1 MB, free: 38.79 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.3066, allocations: 305.2 kB / 487.4 MB, free: 38.73 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01547/0.3221, allocations: 25.53 MB / 0.5009 GB, free: 17.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.46e-05/0.3222, allocations: 8 kB / 0.5009 GB, free: 17.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03057/0.3528, allocations: 23.02 MB / 0.5234 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.3529, allocations: 152.6 kB / 0.5235 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.3532, allocations: 146.5 kB / 0.5237 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02747/0.3806, allocations: 10.87 MB / 0.5343 GB, free: 8.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3807, allocations: 0 / 0.5343 GB, free: 8.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3807, allocations: 0 / 0.5343 GB, free: 8.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.026e-06/0.3807, allocations: 4 kB / 0.5343 GB, free: 8.383 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.003668/0.3843, allocations: 2.322 MB / 0.5365 GB, free: 6.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3844, allocations: 11.03 kB / 0.5366 GB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.3847, allocations: 130.2 kB / 0.5367 GB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.385, allocations: 283.5 kB / 0.5369 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.385, allocations: 31.19 kB / 0.537 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.385, allocations: 53.72 kB / 0.537 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.3854, allocations: 347.2 kB / 0.5374 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3854, allocations: 0 / 0.5374 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.3854, allocations: 9.75 kB / 0.5374 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.3854, allocations: 34.64 kB / 0.5374 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.3857, allocations: 201.2 kB / 0.5376 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008329/0.3865, allocations: 0.6704 MB / 0.5382 GB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.3869, allocations: 0.5708 MB / 0.5388 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.387, allocations: 106.3 kB / 0.5389 GB, free: 4.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6297/1.017, allocations: 281.1 MB / 0.8134 GB, free: 133.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/1.017, allocations: 377.3 kB / 0.8138 GB, free: 133 MB / 458.7 MB Notification: Performance of pre-optimization done (n=74): time 3.216e-06/1.017, allocations: 0 / 0.8138 GB, free: 133 MB / 458.7 MB Notification: Performance of matching and sorting (n=102): time 0.03359/1.051, allocations: 15.04 MB / 0.8285 GB, free: 119.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/1.051, allocations: 119.8 kB / 0.8286 GB, free: 119.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/1.051, allocations: 347 kB / 0.8289 GB, free: 119.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/1.051, allocations: 44.89 kB / 0.829 GB, free: 119.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/1.051, allocations: 141.7 kB / 0.8291 GB, free: 119.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/1.051, allocations: 382.4 kB / 0.8295 GB, free: 118.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/1.051, allocations: 302.8 kB / 0.8297 GB, free: 118.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.395e-05/1.051, allocations: 379.3 kB / 0.8301 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/1.052, allocations: 389.5 kB / 0.8305 GB, free: 117.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/1.052, allocations: 489.3 kB / 0.8309 GB, free: 117.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/1.053, allocations: 0.9871 MB / 0.8319 GB, free: 116.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.053, allocations: 0 / 0.8319 GB, free: 116.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0008591/1.054, allocations: 1.089 MB / 0.833 GB, free: 115.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/1.054, allocations: 33.7 kB / 0.833 GB, free: 115.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.054, allocations: 0 / 0.833 GB, free: 115.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.054, allocations: 11.98 kB / 0.833 GB, free: 115.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/1.054, allocations: 359.9 kB / 0.8334 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/1.054, allocations: 14.66 kB / 0.8334 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/1.054, allocations: 22.81 kB / 0.8334 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-05/1.055, allocations: 78.09 kB / 0.8335 GB, free: 115 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.0001879/1.055, allocations: 192 kB / 0.8337 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.055, allocations: 72.41 kB / 0.8337 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007986/1.063, allocations: 14.97 MB / 0.8483 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.063, allocations: 7.969 kB / 0.8483 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.063, allocations: 0 / 0.8483 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/1.063, allocations: 463.9 kB / 0.8488 GB, free: 99.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.46e-05/1.063, allocations: 33.42 kB / 0.8488 GB, free: 99.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/1.064, allocations: 60.98 kB / 0.8489 GB, free: 99.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/1.064, allocations: 92.73 kB / 0.849 GB, free: 99.85 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00487/1.068, allocations: 8.121 MB / 0.8569 GB, free: 91.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005703/1.074, allocations: 10.5 MB / 0.8672 GB, free: 81.41 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001354/1.076, allocations: 2.948 MB / 0.87 GB, free: 78.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.216e-05/1.076, allocations: 123.9 kB / 0.8701 GB, free: 78.41 MB / 458.7 MB Notification: Performance of Backend: time 3.51e-07/1.076, allocations: 0 / 0.8701 GB, free: 78.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01236/1.088, allocations: 7.092 MB / 0.8771 GB, free: 72.11 MB / 458.7 MB Notification: Performance of SimCode: time 0.002938/1.091, allocations: 4.253 MB / 0.8812 GB, free: 68.05 MB / 458.7 MB Notification: Performance of Templates: time 0.2629/1.354, allocations: 149.5 MB / 1.027 GB, free: 88.3 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.112564632669091]