Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.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.001336/0.001336, allocations: 77.33 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.0009492/0.0009492, 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.9513/0.9513, allocations: 177.1 MB / 204.7 MB, free: 5.41 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.04751/0.04751, allocations: 11.71 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.CheckDerivativeAnnotationsTwoPhase,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0.5469 kB / 292.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.181e-05, allocations: 5.219 kB / 292.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase): time 0.04127/0.04129, allocations: 59.3 MB / 351.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0365/0.07779, allocations: 52.99 MB / 404.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.07801, allocations: 7.938 kB / 404.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.07879, allocations: 350.1 kB / 404.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0332/0.112, allocations: 19.58 MB / 424.5 MB, free: 3.605 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.CheckDerivativeAnnotationsTwoPhase.Medium.Internal.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.006296/0.1183, allocations: 3.516 MB / 428 MB, free: 76 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1787/0.297, allocations: 59.11 MB / 487.1 MB, free: 38.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.006e-05/0.297, allocations: 17.14 kB / 487.1 MB, free: 38.72 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.2974, allocations: 293.4 kB / 487.4 MB, free: 38.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2975, allocations: 134.3 kB / 487.5 MB, free: 38.64 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.2975, allocations: 9.281 kB / 487.5 MB, free: 38.64 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02871/0.3262, allocations: 21.55 MB / 0.4972 GB, free: 24.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3264, allocations: 144.7 kB / 0.4973 GB, free: 24.39 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.3266, allocations: 144.8 kB / 0.4974 GB, free: 24.28 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02107/0.3477, allocations: 10.2 MB / 0.5074 GB, free: 17.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3477, allocations: 3.938 kB / 0.5074 GB, free: 17.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3477, allocations: 0 / 0.5074 GB, free: 17.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3477, allocations: 0 / 0.5074 GB, free: 17.44 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.002654/0.3503, allocations: 2.181 MB / 0.5095 GB, free: 15.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3504, allocations: 12.03 kB / 0.5095 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.3505, allocations: 79.48 kB / 0.5096 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.3508, allocations: 281.5 kB / 0.5099 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3508, allocations: 23.5 kB / 0.5099 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.3508, allocations: 55.25 kB / 0.51 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.3511, allocations: 337 kB / 0.5103 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3511, allocations: 2.438 kB / 0.5103 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3511, allocations: 9.812 kB / 0.5103 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.3511, allocations: 28.64 kB / 0.5103 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.3513, allocations: 170.1 kB / 0.5105 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008255/0.3521, allocations: 0.6633 MB / 0.5111 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.3524, allocations: 427 kB / 0.5115 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.1e-05/0.3525, allocations: 98.47 kB / 0.5116 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4656/0.818, allocations: 259 MB / 0.7646 GB, free: 5.617 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.8184, allocations: 355.5 kB / 0.7649 GB, free: 5.254 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 2.856e-06/0.8184, allocations: 0 / 0.7649 GB, free: 5.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.1718/0.9902, allocations: 7.175 MB / 0.7719 GB, free: 141.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.9902, allocations: 114.7 kB / 0.772 GB, free: 141.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.9905, allocations: 365.8 kB / 0.7724 GB, free: 141.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.332e-05/0.9906, allocations: 45.55 kB / 0.7724 GB, free: 141 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.9907, allocations: 158.2 kB / 0.7726 GB, free: 140.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.9909, allocations: 335 kB / 0.7729 GB, free: 140.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.9912, allocations: 273.3 kB / 0.7732 GB, free: 140.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.9913, allocations: 376.6 kB / 0.7735 GB, free: 140.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.9917, allocations: 333.6 kB / 0.7738 GB, free: 140.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.9922, allocations: 444.3 kB / 0.7743 GB, free: 140.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.9932, allocations: 0.8923 MB / 0.7751 GB, free: 140.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.9932, allocations: 0.75 kB / 0.7751 GB, free: 140.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001279/0.9945, allocations: 0.9666 MB / 0.7761 GB, free: 140 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.9945, allocations: 34.5 kB / 0.7761 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.9946, allocations: 5.594 kB / 0.7761 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.9946, allocations: 8.234 kB / 0.7761 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.9952, allocations: 301.5 kB / 0.7764 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.9952, allocations: 10.14 kB / 0.7764 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.9954, allocations: 21.81 kB / 0.7764 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.9957, allocations: 63.12 kB / 0.7765 GB, free: 139.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,s0.phase,s1.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 2 * 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.0003475/0.996, allocations: 194.7 kB / 0.7767 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.9962, allocations: 69.95 kB / 0.7767 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/1.007, allocations: 11 MB / 0.7875 GB, free: 137.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/1.007, allocations: 7.125 kB / 0.7875 GB, free: 137.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.007, allocations: 3.938 kB / 0.7875 GB, free: 137.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006539/1.007, allocations: 360 kB / 0.7878 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.007, allocations: 26.45 kB / 0.7879 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/1.008, allocations: 53.31 kB / 0.7879 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.008, allocations: 72.17 kB / 0.788 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006514/1.014, allocations: 5.994 MB / 0.7938 GB, free: 136.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007591/1.022, allocations: 7.729 MB / 0.8014 GB, free: 133.1 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001961/1.024, allocations: 2.138 MB / 0.8035 GB, free: 131.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002129/1.024, allocations: 144.4 kB / 0.8036 GB, free: 131.1 MB / 458.7 MB Notification: Performance of Backend: time 1.042e-06/1.024, allocations: 0 / 0.8036 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.011/1.035, allocations: 5.317 MB / 0.8088 GB, free: 127.8 MB / 458.7 MB Notification: Performance of SimCode: time 0.002821/1.038, allocations: 3.598 MB / 0.8123 GB, free: 124.8 MB / 458.7 MB Notification: Performance of Templates: time 0.08076/1.119, allocations: 113.7 MB / 0.9234 GB, free: 18.84 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.217630321159959]