Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.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.0006466/0.0006466, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008501/0.001497, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006928/0.0006928, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008333/0.001526, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8967/0.8967, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09093/0.9876, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.6925/0.6925, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02685/0.7193, allocations: 21.04 MB / 0.5431 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") translateModel(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.226e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.001932/0.001944, allocations: 1.828 MB / 0.5462 GB, free: 28.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006553/0.0026, allocations: 0.5726 MB / 0.5468 GB, free: 28.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.002645, allocations: 4 kB / 0.5468 GB, free: 28.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/0.002689, allocations: 11.86 kB / 0.5468 GB, free: 28.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.002892, allocations: 67.47 kB / 0.5468 GB, free: 28.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.003023, allocations: 71.77 kB / 0.5469 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.003193, allocations: 175.3 kB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.003228, allocations: 9.953 kB / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.006391, allocations: 115.8 kB / 0.5472 GB, free: 27.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.006579, allocations: 87.77 kB / 0.5473 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.006602, allocations: 8 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.006624, allocations: 8 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.006683, allocations: 31.92 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.006731, allocations: 35.94 kB / 0.5474 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.006864, allocations: 99.53 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.006874, allocations: 4 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006875, allocations: 0 / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.006883, allocations: 4 kB / 0.5475 GB, free: 27.54 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005421/0.007425, allocations: 403.9 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.007453, allocations: 15.89 kB / 0.5479 GB, free: 27.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.007493, allocations: 16.92 kB / 0.5479 GB, free: 27.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.007627, allocations: 164.2 kB / 0.548 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.007646, allocations: 8.375 kB / 0.548 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.007669, allocations: 12.36 kB / 0.548 GB, free: 26.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.007804, allocations: 84.95 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.007811, allocations: 192 / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.007821, allocations: 384 / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.007828, allocations: 7.938 kB / 0.5481 GB, free: 26.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/0.007886, allocations: 23.97 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.008053, allocations: 181.9 kB / 0.5483 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.008182, allocations: 128.1 kB / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.008222, allocations: 32.84 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.00824, allocations: 7.938 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.008359, allocations: 86.16 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.008361, allocations: 0 / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001624/0.008523, allocations: 110.2 kB / 0.5487 GB, free: 26.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.008544, allocations: 55.34 kB / 0.5487 GB, free: 26.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.159e-05/0.008616, allocations: 162.6 kB / 0.5489 GB, free: 25.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.00863, allocations: 29.7 kB / 0.5489 GB, free: 25.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.008661, allocations: 96.86 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.008692, allocations: 55.53 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.008747, allocations: 41.69 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.275e-05/0.008779, allocations: 326.8 kB / 0.5494 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.008824, allocations: 52.52 kB / 0.5495 GB, free: 25.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.008889, allocations: 161.2 kB / 0.5496 GB, free: 25.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.008971, allocations: 96.03 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008973, allocations: 4 kB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001277/0.009101, allocations: 162.6 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.009124, allocations: 33.7 kB / 0.5499 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.009128, allocations: 4 kB / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.009137, allocations: 4 kB / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/0.01229, allocations: 39.91 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.01229, allocations: 4 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.01239, allocations: 19.89 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.0124, allocations: 11.3 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * 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 5.189e-05/0.01246, allocations: 116.7 kB / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.01248, allocations: 19.92 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.01261, allocations: 110.6 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01261, allocations: 7.984 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01261, allocations: 0 / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01262, allocations: 0 / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.549e-05/0.01271, allocations: 109.8 kB / 0.5503 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01272, allocations: 3.984 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.01283, allocations: 27.98 kB / 0.5504 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.01285, allocations: 11.89 kB / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01285, allocations: 0 / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.01287, allocations: 7.984 kB / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01287, allocations: 0 / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01287, allocations: 7.938 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.01303, allocations: 161.2 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01306, allocations: 7.938 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.01313, allocations: 15.98 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.01317, allocations: 11.97 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.01318, allocations: 4 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.506e-05/0.01322, allocations: 40.81 kB / 0.5506 GB, free: 24.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01322, allocations: 0 / 0.5506 GB, free: 24.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.01339, allocations: 36 kB / 0.5507 GB, free: 23.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (q[1],q[2],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6.328e-05/0.01345, allocations: 92.3 kB / 0.5507 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.0136, allocations: 161.8 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.0136, allocations: 4 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.01366, allocations: 40.78 kB / 0.5509 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.01385, allocations: 66.58 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.02047, allocations: 408.8 kB / 0.5514 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.0205, allocations: 71.98 kB / 0.5515 GB, free: 23.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.377e-05/0.02057, allocations: 21.48 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.02071, allocations: 99.33 kB / 0.5516 GB, free: 22.96 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02071, allocations: 0 / 0.5516 GB, free: 22.96 MB / 410.7 MB Notification: Performance of Templates: time 0.01071/0.03142, allocations: 3.262 MB / 0.5548 GB, free: 19.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.sim & (cd run_cvode && ../Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_gbode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_gbode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_gbode.sim & (cd run_gbode && ../Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_gbode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_ida.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_ida.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_ida.sim & (cd run_ida && ../Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2308224039152265]