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.0009236/0.0009236, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002509, allocations: 435.8 kB / 10.31 MB, free: 384 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.001061/0.001061, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002547, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9846/0.9846, allocations: 177.1 MB / 189.5 MB, free: 5.344 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09788/1.082, allocations: 53.67 MB / 243.2 MB, free: 15.6 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.7836/0.7836, allocations: 291.2 MB / 0.5225 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03346/0.8171, allocations: 21.06 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.563e-06/1.563e-06, allocations: 0 / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.509e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide): time 0.002037/0.002053, allocations: 2.473 MB / 0.5468 GB, free: 28.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.002706, allocations: 0.6191 MB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.002774, allocations: 0 / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.644e-05/0.00282, allocations: 23.72 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.002946, allocations: 99.19 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.003073, allocations: 55.81 kB / 0.5476 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.003241, allocations: 266.6 kB / 0.5479 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.003347, allocations: 38.53 kB / 0.5479 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.00352, allocations: 176.2 kB / 0.5481 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.00368, allocations: 91.72 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.003705, allocations: 16 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.528e-05/0.00373, allocations: 20 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.003757, allocations: 27.88 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.003815, allocations: 63.88 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.003978, allocations: 143.5 kB / 0.5484 GB, free: 26.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.003991, allocations: 0 / 0.5484 GB, free: 26.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003992, allocations: 0 / 0.5484 GB, free: 26.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.004003, allocations: 0 / 0.5484 GB, free: 26.5 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.000528/0.004531, allocations: 0.5015 MB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.567e-05/0.004556, allocations: 11.89 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.004595, allocations: 28.92 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.004732, allocations: 175.3 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.004751, allocations: 12.61 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.004773, allocations: 16.36 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.004913, allocations: 129.8 kB / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.004922, allocations: 192 / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.004933, allocations: 8.359 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.004938, allocations: 7.938 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.005011, allocations: 85.19 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.005344, allocations: 284.5 kB / 0.5496 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.005513, allocations: 116.2 kB / 0.5498 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.005549, allocations: 62.55 kB / 0.5498 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.005563, allocations: 4 kB / 0.5498 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.005693, allocations: 200.5 kB / 0.55 GB, free: 24.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.462e-06/0.005694, allocations: 0 / 0.55 GB, free: 24.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.000534/0.006228, allocations: 0.5092 MB / 0.5505 GB, free: 24.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.006264, allocations: 140.4 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/0.006343, allocations: 191.2 kB / 0.5508 GB, free: 23.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.006361, allocations: 33.7 kB / 0.5509 GB, free: 23.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.006392, allocations: 116.4 kB / 0.551 GB, free: 23.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.006426, allocations: 83.34 kB / 0.551 GB, free: 23.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.006472, allocations: 49.67 kB / 0.5511 GB, free: 23.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.006506, allocations: 334.8 kB / 0.5514 GB, free: 23.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.006556, allocations: 101 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.006617, allocations: 168.5 kB / 0.5517 GB, free: 22.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.819e-05/0.006715, allocations: 213.5 kB / 0.5519 GB, free: 22.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006717, allocations: 0 / 0.5519 GB, free: 22.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001503/0.006867, allocations: 274.9 kB / 0.5521 GB, free: 22.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.006897, allocations: 59.41 kB / 0.5522 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006901, allocations: 0 / 0.5522 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.006912, allocations: 4 kB / 0.5522 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.007071, allocations: 71.89 kB / 0.5523 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.007075, allocations: 0 / 0.5523 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.00715, allocations: 15.98 kB / 0.5523 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.00716, allocations: 11.94 kB / 0.5523 GB, free: 22.14 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 9.563e-05/0.007255, allocations: 175.7 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.007274, allocations: 19.98 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.007408, allocations: 201 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.007412, allocations: 7.984 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007414, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007417, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.007652, allocations: 390.1 kB / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007653, allocations: 0 / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.00779, allocations: 47.97 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.00781, allocations: 15.89 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.007813, allocations: 4 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.007824, allocations: 11.92 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.007827, allocations: 4 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007828, allocations: 0 / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.008014, allocations: 365.5 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.008038, allocations: 11.44 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.008114, allocations: 15.98 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.008161, allocations: 27.95 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.008169, allocations: 0 / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.008208, allocations: 63.09 kB / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008208, allocations: 0 / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.00837, allocations: 52 kB / 0.5536 GB, free: 20.65 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 6.255e-05/0.008433, allocations: 91.48 kB / 0.5537 GB, free: 20.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.008602, allocations: 318.9 kB / 0.554 GB, free: 20.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.008606, allocations: 4.062 kB / 0.554 GB, free: 20.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.008672, allocations: 157.7 kB / 0.5542 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.008913, allocations: 88.52 kB / 0.5543 GB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.01425, allocations: 0.5734 MB / 0.5548 GB, free: 19.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.01428, allocations: 80.33 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.642e-05/0.01436, allocations: 22.3 kB / 0.5549 GB, free: 19.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.01448, allocations: 123.2 kB / 0.555 GB, free: 19.1 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01449, allocations: 0 / 0.555 GB, free: 19.1 MB / 410.7 MB Notification: Performance of Templates: time 0.00486/0.01935, allocations: 3.923 MB / 0.5589 GB, free: 15.28 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3197101755067706]