Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.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.0007144/0.0007144, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001766, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007305/0.0007305, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009787/0.001709, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9787/0.9787, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08164/1.06, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7548/0.7548, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02449/0.7793, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.Examples.PK_1C_MichaelisMenten_Zonisamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=4032,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide") translateModel(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=4032,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.514e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide): time 0.002046/0.002061, allocations: 2.466 MB / 0.5468 GB, free: 28.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.002769, allocations: 0.6268 MB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.002836, allocations: 4 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.00288, allocations: 23.72 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.003007, allocations: 87.25 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.003125, allocations: 55.81 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.003294, allocations: 270.6 kB / 0.5479 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.003395, allocations: 42.52 kB / 0.5479 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.003571, allocations: 172.3 kB / 0.5481 GB, free: 26.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.003744, allocations: 91.72 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.003771, allocations: 16 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.608e-05/0.003797, allocations: 16 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.003823, allocations: 27.88 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.003882, allocations: 67.88 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.004043, allocations: 143.4 kB / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.004057, allocations: 0 / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004058, allocations: 0 / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.004072, allocations: 0 / 0.5484 GB, free: 26.52 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005808/0.004652, allocations: 0.5054 MB / 0.5489 GB, free: 25.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.00468, allocations: 11.89 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.004728, allocations: 24.92 kB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.004875, allocations: 171.4 kB / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.004896, allocations: 12.61 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.004918, allocations: 16.36 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.005066, allocations: 129.8 kB / 0.5493 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.005078, allocations: 8.172 kB / 0.5493 GB, free: 25.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.005089, allocations: 8.375 kB / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.005096, allocations: 7.938 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.593e-05/0.005172, allocations: 81.19 kB / 0.5494 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.005522, allocations: 276.6 kB / 0.5496 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.00571, allocations: 116.2 kB / 0.5497 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.005747, allocations: 58.55 kB / 0.5498 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.005763, allocations: 4 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.005897, allocations: 200.5 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.005899, allocations: 3.938 kB / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005437/0.006443, allocations: 0.5197 MB / 0.5505 GB, free: 24.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.006475, allocations: 140.5 kB / 0.5506 GB, free: 24.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.006557, allocations: 187.2 kB / 0.5508 GB, free: 23.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.006575, allocations: 33.69 kB / 0.5508 GB, free: 23.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.006605, allocations: 116.5 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.006645, allocations: 79.36 kB / 0.551 GB, free: 23.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.006695, allocations: 53.67 kB / 0.5511 GB, free: 23.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.345e-05/0.006728, allocations: 338.8 kB / 0.5514 GB, free: 23.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.126e-05/0.00678, allocations: 96.94 kB / 0.5515 GB, free: 23.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.00684, allocations: 172.5 kB / 0.5517 GB, free: 22.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.006941, allocations: 213.5 kB / 0.5519 GB, free: 22.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.006942, allocations: 0 / 0.5519 GB, free: 22.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001543/0.007097, allocations: 263.9 kB / 0.5521 GB, free: 22.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.007126, allocations: 59.41 kB / 0.5522 GB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.007131, allocations: 4 kB / 0.5522 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.00714, allocations: 7.938 kB / 0.5522 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.0073, allocations: 64.14 kB / 0.5522 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007305, allocations: 11.94 kB / 0.5523 GB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.861e-05/0.007384, allocations: 15.98 kB / 0.5523 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.007397, allocations: 11.69 kB / 0.5523 GB, free: 22.15 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 2 * 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.0001011/0.007498, allocations: 171.6 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.007523, allocations: 19.98 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.007668, allocations: 201.4 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.007671, allocations: 4 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007672, allocations: 4 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007676, allocations: 0 / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.007944, allocations: 394.1 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.007947, allocations: 0 / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.008094, allocations: 47.91 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.008117, allocations: 11.91 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.008121, allocations: 3.938 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.008135, allocations: 15.92 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.008138, allocations: 3.125 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008139, allocations: 4 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.008355, allocations: 364.4 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.008384, allocations: 8 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.008462, allocations: 11.98 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.008523, allocations: 19.95 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.008533, allocations: 8 kB / 0.5535 GB, free: 20.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.00858, allocations: 59.08 kB / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00858, allocations: 0 / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.008765, allocations: 60 kB / 0.5536 GB, free: 20.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 8.956e-05/0.008854, allocations: 95.17 kB / 0.5537 GB, free: 20.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.009063, allocations: 312.5 kB / 0.554 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.009067, allocations: 4 kB / 0.554 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.009136, allocations: 153.7 kB / 0.5542 GB, free: 20.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.009386, allocations: 90.22 kB / 0.5543 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/0.01517, allocations: 0.5713 MB / 0.5548 GB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.01522, allocations: 129.6 kB / 0.5549 GB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.01539, allocations: 123.3 kB / 0.5551 GB, free: 19.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01539, allocations: 0 / 0.5551 GB, free: 19.09 MB / 410.7 MB Notification: Performance of Templates: time 0.002939/0.01833, allocations: 2.982 MB / 0.558 GB, free: 16.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.037497671321034]