Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.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.001217/0.001217, allocations: 112.3 kB / 19.71 MB, free: 432 kB / 13.93 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.00136/0.00136, allocations: 217.3 kB / 23 MB, free: 2.965 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.9841/0.9841, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.6869/0.6869, allocations: 312.3 MB / 0.6109 GB, free: 97.02 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.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 75.34 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.126, allocations: 73.99 MB / 0.8422 GB, free: 9.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam): time 0.002805/0.1288, allocations: 3.026 MB / 0.8451 GB, free: 6.793 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.1333, allocations: 6.629 MB / 0.8516 GB, free: 168 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1334, allocations: 0.625 kB / 0.8516 GB, free: 168 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.1335, allocations: 39.58 kB / 0.8517 GB, free: 128 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1337, allocations: 124.7 kB / 0.8518 GB, free: 4 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.1339, allocations: 84.56 kB / 0.8519 GB, free: 15.92 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.1342, allocations: 418 kB / 0.8523 GB, free: 15.51 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1343, allocations: 58.42 kB / 0.8523 GB, free: 15.45 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1345, allocations: 159.4 kB / 0.8525 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1346, allocations: 140.1 kB / 0.8526 GB, free: 15.16 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1347, allocations: 32.59 kB / 0.8526 GB, free: 15.13 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.744e-05/0.1347, allocations: 39.94 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.1348, allocations: 64.28 kB / 0.8527 GB, free: 15.03 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.64e-05/0.1348, allocations: 143.9 kB / 0.8529 GB, free: 14.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1351, allocations: 362.6 kB / 0.8532 GB, free: 14.53 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1351, allocations: 0.6875 kB / 0.8532 GB, free: 14.53 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1351, allocations: 0.5625 kB / 0.8532 GB, free: 14.53 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1351, allocations: 0 / 0.8532 GB, free: 14.53 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007032/0.1358, allocations: 0.6113 MB / 0.8538 GB, free: 13.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1359, allocations: 12.66 kB / 0.8538 GB, free: 13.86 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.1359, allocations: 36.7 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1361, allocations: 225.6 kB / 0.8541 GB, free: 13.58 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1361, allocations: 20.81 kB / 0.8541 GB, free: 13.56 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.1362, allocations: 28.39 kB / 0.8541 GB, free: 13.54 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.1365, allocations: 301.7 kB / 0.8544 GB, free: 13.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1365, allocations: 4.938 kB / 0.8544 GB, free: 13.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1365, allocations: 8 kB / 0.8544 GB, free: 13.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1365, allocations: 4.75 kB / 0.8544 GB, free: 13.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1368, allocations: 249 kB / 0.8547 GB, free: 12.94 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.1375, allocations: 0.6559 MB / 0.8553 GB, free: 12.25 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2336/0.3711, allocations: 265.2 kB / 0.8556 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.3713, allocations: 160.8 kB / 0.8557 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.3713, allocations: 1.969 kB / 0.8557 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.3716, allocations: 368.7 kB / 0.8561 GB, free: 20.88 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.3716, allocations: 0 / 0.8561 GB, free: 20.88 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001307/0.3729, allocations: 1.141 MB / 0.8572 GB, free: 20.38 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.373, allocations: 217.5 kB / 0.8574 GB, free: 20.13 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3732, allocations: 255.9 kB / 0.8576 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3732, allocations: 36.89 kB / 0.8577 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.3732, allocations: 151.1 kB / 0.8578 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.3733, allocations: 120.1 kB / 0.8579 GB, free: 19.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.3734, allocations: 81.44 kB / 0.858 GB, free: 19.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.3734, allocations: 343.3 kB / 0.8583 GB, free: 19.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.3736, allocations: 227.1 kB / 0.8585 GB, free: 19.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3738, allocations: 320 kB / 0.8588 GB, free: 19.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.3741, allocations: 457 kB / 0.8593 GB, free: 18.91 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3741, allocations: 0 / 0.8593 GB, free: 18.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004451/0.3745, allocations: 0.5758 MB / 0.8598 GB, free: 18.67 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.3746, allocations: 92.98 kB / 0.8599 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3746, allocations: 3.156 kB / 0.8599 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3746, allocations: 9.938 kB / 0.8599 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3748, allocations: 75.62 kB / 0.86 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3748, allocations: 11.17 kB / 0.86 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3749, allocations: 22.14 kB / 0.8601 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3749, allocations: 17.56 kB / 0.8601 GB, free: 18.57 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0001676/0.3751, allocations: 232.1 kB / 0.8603 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3751, allocations: 30.41 kB / 0.8603 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.3751, allocations: 33.69 kB / 0.8604 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3751, allocations: 7.25 kB / 0.8604 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3751, allocations: 4.938 kB / 0.8604 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3751, allocations: 8.844 kB / 0.8604 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.3758, allocations: 0.8088 MB / 0.8612 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3758, allocations: 1.172 kB / 0.8612 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3759, allocations: 62.64 kB / 0.8612 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.376, allocations: 2.609 kB / 0.8612 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.376, allocations: 11.02 kB / 0.8612 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.376, allocations: 1.188 kB / 0.8612 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.376, allocations: 0.7812 kB / 0.8612 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.3767, allocations: 0.7665 MB / 0.862 GB, free: 17.66 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.626e-05/0.3768, allocations: 60.61 kB / 0.862 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3768, allocations: 15.12 kB / 0.8621 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3769, allocations: 15.98 kB / 0.8621 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.377, allocations: 31.23 kB / 0.8621 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.377, allocations: 13.91 kB / 0.8621 GB, free: 17.64 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3771, allocations: 183.3 kB / 0.8623 GB, free: 17.56 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3771, allocations: 3.375 kB / 0.8623 GB, free: 17.56 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002318/0.3774, allocations: 84.84 kB / 0.8624 GB, free: 17.56 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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 0.00012/0.3775, allocations: 129.7 kB / 0.8625 GB, free: 17.47 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.3781, allocations: 0.5905 MB / 0.8631 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3781, allocations: 0.9375 kB / 0.8631 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.3783, allocations: 310.7 kB / 0.8634 GB, free: 16.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3787, allocations: 103.6 kB / 0.8635 GB, free: 16.93 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.38, allocations: 1.067 MB / 0.8645 GB, free: 16.39 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3801, allocations: 163.8 kB / 0.8647 GB, free: 16.31 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.3802, allocations: 29.22 kB / 0.8647 GB, free: 16.3 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.3802, allocations: 0 / 0.8647 GB, free: 16.3 MB / 490.8 MB Notification: Performance of Templates: time 0.005581/0.3857, allocations: 4.345 MB / 0.8689 GB, free: 15.91 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.968054200522602]