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.007421/0.007421, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.00334/0.00334, allocations: 219.6 kB / 22.25 MB, free: 3.57 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 1.875/1.875, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] 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 1.373/1.373, allocations: 316.7 MB / 0.6144 GB, free: 93.04 MB / 410.7 MB " [Timeout remaining time 178] 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.005158/0.005158, allocations: 77.23 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1624, allocations: 73.99 MB / 0.8473 GB, free: 4.812 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam): time 0.005042/0.1675, allocations: 3.016 MB / 0.8502 GB, free: 1.797 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3035/0.471, allocations: 6.636 MB / 0.8567 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.4713, allocations: 5.531 kB / 0.8567 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.4715, allocations: 37.69 kB / 0.8567 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.4718, allocations: 129.1 kB / 0.8569 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.4721, allocations: 82.5 kB / 0.8569 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.4725, allocations: 416.2 kB / 0.8573 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.4727, allocations: 58.02 kB / 0.8574 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.4729, allocations: 155.4 kB / 0.8575 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.4731, allocations: 149.2 kB / 0.8577 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.4732, allocations: 29.91 kB / 0.8577 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-05/0.4733, allocations: 32.91 kB / 0.8577 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.4733, allocations: 61.31 kB / 0.8578 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.4735, allocations: 148.7 kB / 0.8579 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.4739, allocations: 364.8 kB / 0.8583 GB, free: 21.69 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4739, allocations: 3.938 kB / 0.8583 GB, free: 21.68 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4739, allocations: 2.25 kB / 0.8583 GB, free: 21.68 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.4739, allocations: 0 / 0.8583 GB, free: 21.68 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.001044/0.475, allocations: 0.6058 MB / 0.8589 GB, free: 21.22 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.475, allocations: 8.656 kB / 0.8589 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.4751, allocations: 41.64 kB / 0.8589 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.4754, allocations: 215 kB / 0.8591 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.4754, allocations: 19.16 kB / 0.8592 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.4754, allocations: 31.3 kB / 0.8592 GB, free: 21.03 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.4759, allocations: 299.1 kB / 0.8595 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4759, allocations: 5.344 kB / 0.8595 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.476, allocations: 12.97 kB / 0.8595 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.476, allocations: 3.438 kB / 0.8595 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.4764, allocations: 250.4 kB / 0.8597 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009819/0.4774, allocations: 0.6488 MB / 0.8604 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.478, allocations: 272.3 kB / 0.8606 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.4782, allocations: 158 kB / 0.8608 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.4782, allocations: 2.938 kB / 0.8608 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004235/0.4787, allocations: 373.1 kB / 0.8611 GB, free: 20.11 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.4787, allocations: 1.219 kB / 0.8611 GB, free: 20.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001935/0.4806, allocations: 1.132 MB / 0.8623 GB, free: 19.57 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.4807, allocations: 220.6 kB / 0.8625 GB, free: 19.32 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.4809, allocations: 250.9 kB / 0.8627 GB, free: 19.21 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.4809, allocations: 38.67 kB / 0.8627 GB, free: 19.18 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.481, allocations: 160.3 kB / 0.8629 GB, free: 19.07 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.4811, allocations: 116.3 kB / 0.863 GB, free: 19 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.4812, allocations: 72.58 kB / 0.8631 GB, free: 18.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.4813, allocations: 351 kB / 0.8634 GB, free: 18.67 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.4816, allocations: 215.5 kB / 0.8636 GB, free: 18.57 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.4819, allocations: 328 kB / 0.8639 GB, free: 18.33 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.4825, allocations: 454.4 kB / 0.8644 GB, free: 18.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4825, allocations: 3.938 kB / 0.8644 GB, free: 18.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008676/0.4834, allocations: 0.579 MB / 0.8649 GB, free: 17.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.4834, allocations: 90.47 kB / 0.865 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4835, allocations: 4.875 kB / 0.865 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.4835, allocations: 5.062 kB / 0.865 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.4838, allocations: 83.14 kB / 0.8651 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4838, allocations: 6.234 kB / 0.8651 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.484, allocations: 23.25 kB / 0.8651 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.4841, allocations: 21.95 kB / 0.8651 GB, free: 17.7 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.000253/0.4843, allocations: 241.5 kB / 0.8654 GB, free: 17.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.4844, allocations: 33.12 kB / 0.8654 GB, free: 17.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.874e-05/0.4845, allocations: 31.8 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.4845, allocations: 5.234 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4845, allocations: 0.625 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4845, allocations: 2.562 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.4857, allocations: 0.8125 MB / 0.8662 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4857, allocations: 0.5938 kB / 0.8662 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.486, allocations: 56.91 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.486, allocations: 2.531 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.486, allocations: 10.88 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.486, allocations: 6 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.486, allocations: 5.484 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.487, allocations: 0.7673 MB / 0.8671 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.4872, allocations: 54.92 kB / 0.8671 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.4872, allocations: 16.41 kB / 0.8671 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4874, allocations: 21.42 kB / 0.8672 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4875, allocations: 31.66 kB / 0.8672 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.4876, allocations: 14.19 kB / 0.8672 GB, free: 16.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000176/0.4877, allocations: 185.2 kB / 0.8674 GB, free: 16.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4877, allocations: 0 / 0.8674 GB, free: 16.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003927/0.4881, allocations: 85.59 kB / 0.8675 GB, free: 16.64 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.0001431/0.4883, allocations: 130.4 kB / 0.8676 GB, free: 16.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007823/0.489, allocations: 0.5949 MB / 0.8682 GB, free: 16.19 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4891, allocations: 0 / 0.8682 GB, free: 16.19 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.4894, allocations: 312.2 kB / 0.8685 GB, free: 16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.4899, allocations: 88.78 kB / 0.8685 GB, free: 15.99 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.4916, allocations: 1.039 MB / 0.8696 GB, free: 15.46 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.4918, allocations: 164.6 kB / 0.8697 GB, free: 15.38 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000168/0.492, allocations: 35.77 kB / 0.8698 GB, free: 15.37 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.492, allocations: 35.84 kB / 0.8698 GB, free: 15.36 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.492, allocations: 0 / 0.8698 GB, free: 15.36 MB / 490.8 MB Notification: Performance of Templates: time 0.0113/0.5033, allocations: 5.282 MB / 0.8749 GB, free: 14.83 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.647401187103242]