Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases.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.0008463/0.0008463, allocations: 79.7 kB / 20.86 MB, free: 3.602 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.0009023/0.0009023, allocations: 168.5 kB / 24.3 MB, free: 172 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.8842/0.8842, allocations: 177.1 MB / 204.7 MB, free: 5.422 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.0777/0.0777, allocations: 11.71 MB / 272.9 MB, free: 1.844 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.CheckDerivativeAnnotationsAllCases,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 292.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.362e-05, allocations: 5.891 kB / 292.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases): time 0.05989/0.05991, allocations: 64.92 MB / 357.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04148/0.1014, allocations: 54.72 MB / 411.8 MB, free: 176 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.1018, allocations: 23.88 kB / 411.9 MB, free: 152 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.103, allocations: 0.5553 MB / 412.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03683/0.1398, allocations: 20.68 MB / 433.1 MB, free: 10.81 MB / 394.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.CheckDerivativeAnnotationsAllCases.Medium.Internal.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.007736/0.1476, allocations: 3.862 MB / 437 MB, free: 6.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.4938/0.6414, allocations: 292.9 MB / 0.7127 GB, free: 49.19 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.6417, allocations: 58.89 kB / 0.7128 GB, free: 49.11 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.6434, allocations: 1.51 MB / 0.7143 GB, free: 48.08 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01576/0.6592, allocations: 26.03 MB / 0.7397 GB, free: 24 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.6594, allocations: 76 kB / 0.7398 GB, free: 23.93 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03156/0.6909, allocations: 23.1 MB / 0.7623 GB, free: 6.652 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.6913, allocations: 0.7702 MB / 0.7631 GB, free: 6.094 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008439/0.6921, allocations: 0.7682 MB / 0.7638 GB, free: 5.512 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1563/0.8484, allocations: 12.37 MB / 0.7759 GB, free: 127.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8484, allocations: 2.156 kB / 0.7759 GB, free: 127.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.8484, allocations: 0 / 0.7759 GB, free: 127.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.286e-05/0.8485, allocations: 2.031 kB / 0.7759 GB, free: 127.2 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.008007/0.8565, allocations: 4.522 MB / 0.7803 GB, free: 124.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8566, allocations: 9.031 kB / 0.7803 GB, free: 124.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.8577, allocations: 0.5329 MB / 0.7809 GB, free: 124.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.8587, allocations: 1.015 MB / 0.7818 GB, free: 124.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.8588, allocations: 126.5 kB / 0.782 GB, free: 124.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/0.8591, allocations: 266.6 kB / 0.7822 GB, free: 124.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.8606, allocations: 1.763 MB / 0.7839 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.8606, allocations: 3.359 kB / 0.7839 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.8607, allocations: 53.94 kB / 0.784 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.864e-05/0.8608, allocations: 162.2 kB / 0.7841 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009933/0.8618, allocations: 0.9459 MB / 0.7851 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.8655, allocations: 3.491 MB / 0.7885 GB, free: 123.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.8672, allocations: 2.518 MB / 0.7909 GB, free: 122.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.8676, allocations: 0.4897 MB / 0.7914 GB, free: 122.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4396/1.307, allocations: 281.2 MB / 1.066 GB, free: 70.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/1.309, allocations: 1.818 MB / 1.068 GB, free: 68.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=354): time 7.103e-06/1.309, allocations: 3.422 kB / 1.068 GB, free: 68.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=478): time 0.1205/1.429, allocations: 47.37 MB / 1.114 GB, free: 22.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/1.43, allocations: 474.7 kB / 1.115 GB, free: 21.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008311/1.43, allocations: 1.35 MB / 1.116 GB, free: 20.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003739/1.431, allocations: 123.9 kB / 1.116 GB, free: 20.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/1.431, allocations: 410.2 kB / 1.116 GB, free: 20.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007178/1.432, allocations: 1.757 MB / 1.118 GB, free: 18.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/1.433, allocations: 1.394 MB / 1.119 GB, free: 17.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.361e-05/1.433, allocations: 310.6 kB / 1.12 GB, free: 16.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/1.434, allocations: 1.766 MB / 1.121 GB, free: 15.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/1.436, allocations: 2.267 MB / 1.124 GB, free: 12.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00338/1.439, allocations: 4.705 MB / 1.128 GB, free: 8.074 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.439, allocations: 0 / 1.128 GB, free: 8.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=789) (initialization): time 0.004073/1.443, allocations: 5.059 MB / 1.133 GB, free: 3.004 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/1.443, allocations: 144.5 kB / 1.133 GB, free: 2.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.443, allocations: 8 kB / 1.133 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/1.443, allocations: 28 kB / 1.133 GB, free: 2.797 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/1.446, allocations: 1.599 MB / 1.135 GB, free: 1.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/1.446, allocations: 31.47 kB / 1.135 GB, free: 1.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.448, allocations: 115.8 kB / 1.135 GB, free: 1.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00065/1.448, allocations: 355.6 kB / 1.135 GB, free: 0.7773 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 20 (singlePhase.s0.phase,singlePhase.s1.phase,$whenCondition5,vapourNearSaturation.s0.phase,vapourNearSaturation.s1.phase,$whenCondition4,liquidNearSaturation.s0.phase,liquidNearSaturation.s1.phase,$whenCondition3,$whenCondition2,$whenCondition1,singlePhase.state.phase,twoPhase.s0.phase,twoPhase.s1.phase,twoPhase.state.phase,phaseChange.state.phase,phaseChange.s0.phase,phaseChange.s1.phase,liquidNearSaturation.state.phase,vapourNearSaturation.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 618 * Array equations: 5 * Algorithm blocks: 5 * Record equations: 8 * 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.0009155/1.449, allocations: 0.4964 MB / 1.136 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1489/1.598, allocations: 341.2 kB / 1.136 GB, free: 145.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04589/1.644, allocations: 70.27 MB / 1.205 GB, free: 108.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-05/1.644, allocations: 37.14 kB / 1.205 GB, free: 108.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/1.644, allocations: 1.25 kB / 1.205 GB, free: 108.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/1.646, allocations: 2.109 MB / 1.207 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005471/1.647, allocations: 161.9 kB / 1.207 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/1.649, allocations: 267.1 kB / 1.207 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005309/1.649, allocations: 416.9 kB / 1.208 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02453/1.674, allocations: 35.5 MB / 1.242 GB, free: 73.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02559/1.699, allocations: 45.33 MB / 1.287 GB, free: 29.65 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006773/1.706, allocations: 12.8 MB / 1.299 GB, free: 17.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006182/1.707, allocations: 0.6064 MB / 1.3 GB, free: 16.77 MB / 474.7 MB Notification: Performance of Backend: time 2.9e-07/1.707, allocations: 0 / 1.3 GB, free: 16.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01654/1.723, allocations: 9.889 MB / 1.309 GB, free: 8.359 MB / 474.7 MB Notification: Performance of SimCode: time 0.1568/1.88, allocations: 17.8 MB / 1.327 GB, free: 129.7 MB / 474.7 MB Notification: Performance of Templates: time 0.4096/2.289, allocations: 308.6 MB / 1.628 GB, free: 29.86 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAllCases.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 21.479681065306067]