Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.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.002283/0.002283, allocations: 101.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.002114/0.002114, allocations: 211.6 kB / 22.25 MB, free: 3.574 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.759/1.759, allocations: 230.6 MB / 256 MB, free: 9.609 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.403/1.403, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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.N03AG05_Progabide.Progabide_Johno1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference") [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.003756/0.003756, allocations: 73.5 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1675, allocations: 73.99 MB / 0.8472 GB, free: 4.945 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference): time 0.004142/0.1716, allocations: 2.297 MB / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2941/0.4657, allocations: 6.524 MB / 0.8558 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.466, allocations: 3.547 kB / 0.8558 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.4661, allocations: 28.25 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.4663, allocations: 79.91 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.4665, allocations: 56.41 kB / 0.856 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.4668, allocations: 261 kB / 0.8563 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.4669, allocations: 34.73 kB / 0.8563 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.4671, allocations: 99.53 kB / 0.8564 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.4673, allocations: 99.78 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.4673, allocations: 16.88 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.843e-05/0.4673, allocations: 16.88 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.4674, allocations: 34.83 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.4675, allocations: 102.8 kB / 0.8566 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.4677, allocations: 190 kB / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4677, allocations: 0 / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4677, allocations: 1.312 kB / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.4677, allocations: 0 / 0.8568 GB, free: 21.79 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007654/0.4685, allocations: 0.4916 MB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.4685, allocations: 11.66 kB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.4686, allocations: 26.08 kB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.4688, allocations: 182.2 kB / 0.8575 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4688, allocations: 10.67 kB / 0.8575 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.4688, allocations: 23.08 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.4692, allocations: 189.1 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4692, allocations: 2.375 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.4692, allocations: 7.312 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4692, allocations: 0 / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.4695, allocations: 146.4 kB / 0.8579 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.4702, allocations: 485.4 kB / 0.8583 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.4707, allocations: 176 kB / 0.8585 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.4709, allocations: 90.3 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.4709, allocations: 7.844 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.4712, allocations: 229.1 kB / 0.8588 GB, free: 20.56 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.4712, allocations: 4.531 kB / 0.8588 GB, free: 20.56 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001305/0.4725, allocations: 0.6988 MB / 0.8595 GB, free: 20.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.4725, allocations: 138.8 kB / 0.8596 GB, free: 20.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.4727, allocations: 217.1 kB / 0.8598 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4727, allocations: 32.2 kB / 0.8599 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.4728, allocations: 132.8 kB / 0.86 GB, free: 19.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.4728, allocations: 74.86 kB / 0.8601 GB, free: 19.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.4729, allocations: 54.36 kB / 0.8601 GB, free: 19.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.473, allocations: 339.7 kB / 0.8604 GB, free: 19.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.4732, allocations: 146.8 kB / 0.8606 GB, free: 19.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.4734, allocations: 219.3 kB / 0.8608 GB, free: 19.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.4737, allocations: 281.9 kB / 0.8611 GB, free: 19.03 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4737, allocations: 5.281 kB / 0.8611 GB, free: 19.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005178/0.4743, allocations: 387.2 kB / 0.8614 GB, free: 18.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.4743, allocations: 65.73 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4743, allocations: 3.938 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4743, allocations: 3.844 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.4745, allocations: 49.66 kB / 0.8616 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4745, allocations: 5.188 kB / 0.8616 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.4747, allocations: 21.42 kB / 0.8616 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.4747, allocations: 8.25 kB / 0.8616 GB, free: 18.78 MB / 490.8 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: 8 * 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 (31): * Single equations (assignments): 29 * 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.0001648/0.4749, allocations: 179.4 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.4749, allocations: 23.95 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.475, allocations: 28.48 kB / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.475, allocations: 5.688 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.475, allocations: 0.5938 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.475, allocations: 3.047 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.4757, allocations: 0.5425 MB / 0.8623 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4757, allocations: 0 / 0.8623 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.4758, allocations: 36.91 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4758, allocations: 0.6875 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4759, allocations: 7.781 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4759, allocations: 4.594 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4759, allocations: 3.516 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.4765, allocations: 0.4901 MB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.4765, allocations: 18.27 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.4766, allocations: 9.562 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4767, allocations: 17.33 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.4768, allocations: 21.62 kB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4768, allocations: 10.95 kB / 0.863 GB, free: 18.03 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001254/0.4769, allocations: 157.9 kB / 0.8631 GB, free: 17.95 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4769, allocations: 3.938 kB / 0.8631 GB, free: 17.95 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003007/0.4772, allocations: 61.66 kB / 0.8632 GB, free: 17.95 MB / 490.8 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 (18): * Single equations (assignments): 15 * 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 0.0001087/0.4774, allocations: 109.8 kB / 0.8633 GB, free: 17.86 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005237/0.4779, allocations: 381.3 kB / 0.8636 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4779, allocations: 0 / 0.8636 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.4781, allocations: 169.7 kB / 0.8638 GB, free: 17.53 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.4786, allocations: 66.19 kB / 0.8639 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4798, allocations: 0.6854 MB / 0.8645 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.4799, allocations: 124.3 kB / 0.8646 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000109/0.48, allocations: 25.61 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.4801, allocations: 21.3 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.4801, allocations: 0 / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of Templates: time 0.008269/0.4884, allocations: 3.647 MB / 0.8683 GB, free: 16.79 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide_Johno1982_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.225748877972364]