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.0007796/0.0007796, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001799, allocations: 440 kB / 10.41 MB, free: 284 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.0006781/0.0006781, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009344/0.001613, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9597/0.9597, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08626/1.046, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7694/0.7694, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02229/0.7917, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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.543e-06/1.543e-06, allocations: 0 / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.087e-06/1.063e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.001443/0.001453, allocations: 1.828 MB / 0.5464 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005244/0.001978, allocations: 0.5765 MB / 0.5469 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.002017, allocations: 0 / 0.5469 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.002057, allocations: 15.8 kB / 0.5469 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.002237, allocations: 67.55 kB / 0.547 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.002348, allocations: 67.77 kB / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.002491, allocations: 171.3 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.002523, allocations: 5.969 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.002646, allocations: 119.7 kB / 0.5474 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.00281, allocations: 87.81 kB / 0.5474 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.00284, allocations: 15.94 kB / 0.5475 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.199e-05/0.002862, allocations: 8 kB / 0.5475 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.00292, allocations: 35.86 kB / 0.5475 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.00296, allocations: 35.94 kB / 0.5475 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.003068, allocations: 91.67 kB / 0.5476 GB, free: 27.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.003077, allocations: 0 / 0.5476 GB, free: 27.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003078, allocations: 0 / 0.5476 GB, free: 27.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.003085, allocations: 0 / 0.5476 GB, free: 27.04 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.0004699/0.003555, allocations: 419.8 kB / 0.548 GB, free: 26.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.399e-05/0.003579, allocations: 11.89 kB / 0.548 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.003615, allocations: 12.92 kB / 0.548 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.003737, allocations: 168.2 kB / 0.5482 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.003751, allocations: 4.375 kB / 0.5482 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.003772, allocations: 12.38 kB / 0.5482 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.003894, allocations: 84.88 kB / 0.5483 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.003901, allocations: 192 / 0.5483 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.003912, allocations: 8.375 kB / 0.5483 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.003918, allocations: 11.92 kB / 0.5483 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.498e-05/0.003963, allocations: 23.98 kB / 0.5483 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.004109, allocations: 181.8 kB / 0.5485 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.004215, allocations: 132.2 kB / 0.5486 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.004245, allocations: 16.86 kB / 0.5487 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.004259, allocations: 7.984 kB / 0.5487 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.867e-05/0.004358, allocations: 90.16 kB / 0.5488 GB, free: 25.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.004359, allocations: 0 / 0.5488 GB, free: 25.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001371/0.004496, allocations: 109.8 kB / 0.5489 GB, free: 25.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.004516, allocations: 63.33 kB / 0.5489 GB, free: 25.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/0.004573, allocations: 158.8 kB / 0.5491 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.004585, allocations: 25.7 kB / 0.5491 GB, free: 25.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.004611, allocations: 100.9 kB / 0.5492 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.004635, allocations: 55.53 kB / 0.5492 GB, free: 25.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.004675, allocations: 41.67 kB / 0.5493 GB, free: 25.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.839e-05/0.004704, allocations: 330.8 kB / 0.5496 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.004741, allocations: 52.02 kB / 0.5496 GB, free: 24.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.0048, allocations: 163.9 kB / 0.5498 GB, free: 24.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/0.004865, allocations: 107 kB / 0.5499 GB, free: 24.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.004866, allocations: 0 / 0.5499 GB, free: 24.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 9.274e-05/0.004959, allocations: 159.8 kB / 0.5501 GB, free: 24.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.004982, allocations: 33.7 kB / 0.5501 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.004985, allocations: 3.938 kB / 0.5501 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.004995, allocations: 0 / 0.5501 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.005106, allocations: 43.92 kB / 0.5501 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.005109, allocations: 0 / 0.5501 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.005182, allocations: 27.88 kB / 0.5502 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.00519, allocations: 4 kB / 0.5502 GB, free: 24.2 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 4.754e-05/0.005238, allocations: 120.7 kB / 0.5503 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.005252, allocations: 19.94 kB / 0.5503 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.005361, allocations: 106.6 kB / 0.5504 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.005363, allocations: 4 kB / 0.5504 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.005364, allocations: 0 / 0.5504 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.005368, allocations: 3.984 kB / 0.5504 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.388e-05/0.005442, allocations: 105.8 kB / 0.5505 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.005443, allocations: 0 / 0.5505 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.005526, allocations: 35.98 kB / 0.5505 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.005539, allocations: 11.89 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005541, allocations: 4 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.005552, allocations: 0 / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005554, allocations: 3.984 kB / 0.5506 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005554, allocations: 0 / 0.5506 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.005695, allocations: 161.5 kB / 0.5507 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.005714, allocations: 11.94 kB / 0.5507 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.305e-05/0.005767, allocations: 7.984 kB / 0.5507 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.005803, allocations: 23.97 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.00581, allocations: 3.312 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.813e-05/0.005838, allocations: 44.81 kB / 0.5508 GB, free: 23.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005838, allocations: 0 / 0.5508 GB, free: 23.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001121/0.00595, allocations: 36 kB / 0.5508 GB, free: 23.46 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 5.319e-05/0.006004, allocations: 84.36 kB / 0.5509 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.006124, allocations: 156.9 kB / 0.5511 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.00613, allocations: 7.984 kB / 0.5511 GB, free: 23.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.213e-05/0.006182, allocations: 48.78 kB / 0.5511 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.006377, allocations: 446.5 kB / 0.5515 GB, free: 22.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.009004, allocations: 394.1 kB / 0.5519 GB, free: 22.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.228e-05/0.009026, allocations: 68 kB / 0.552 GB, free: 22.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.009081, allocations: 17.48 kB / 0.552 GB, free: 22.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.009195, allocations: 99.33 kB / 0.5521 GB, free: 22 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009196, allocations: 0 / 0.5521 GB, free: 22 MB / 410.7 MB Notification: Performance of Templates: time 0.003546/0.01274, allocations: 3.268 MB / 0.5553 GB, free: 18.8 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 & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.269938259385526]