Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_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.001242/0.001242, allocations: 108.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.001317/0.001317, allocations: 217.3 kB / 23 MB, free: 2.961 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.9686/0.9686, 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.6893/0.6893, allocations: 312.3 MB / 0.6108 GB, free: 97.07 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.N03AX18_Lacosamide.Lacosamide_Wu2026_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_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.001419/0.001419, allocations: 73.27 kB / 0.7699 GB, free: 19.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 74 MB / 0.8421 GB, free: 9.848 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference): time 0.002837/0.1075, allocations: 3.01 MB / 0.8451 GB, free: 6.84 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.004718/0.1122, allocations: 6.629 MB / 0.8515 GB, free: 216 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1123, allocations: 4.844 kB / 0.8515 GB, free: 212 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.1124, allocations: 43.56 kB / 0.8516 GB, free: 168 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1127, allocations: 128.1 kB / 0.8517 GB, free: 40 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1129, allocations: 81.39 kB / 0.8518 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.1132, allocations: 414.1 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1133, allocations: 62.17 kB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1135, allocations: 151.5 kB / 0.8524 GB, free: 15.34 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1137, allocations: 151.9 kB / 0.8525 GB, free: 15.2 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.1137, allocations: 32.62 kB / 0.8526 GB, free: 15.16 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.1137, allocations: 32 kB / 0.8526 GB, free: 15.13 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1138, allocations: 60.31 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1139, allocations: 152 kB / 0.8528 GB, free: 14.93 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1141, allocations: 354.6 kB / 0.8531 GB, free: 14.58 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1141, allocations: 0.5938 kB / 0.8531 GB, free: 14.58 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1141, allocations: 0 / 0.8531 GB, free: 14.58 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1141, allocations: 0.625 kB / 0.8531 GB, free: 14.58 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.0007318/0.1149, allocations: 0.6133 MB / 0.8537 GB, free: 13.92 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1149, allocations: 8.031 kB / 0.8537 GB, free: 13.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.115, allocations: 37.48 kB / 0.8538 GB, free: 13.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.1153, allocations: 229 kB / 0.854 GB, free: 13.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1153, allocations: 21.38 kB / 0.854 GB, free: 13.61 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.1154, allocations: 32.52 kB / 0.854 GB, free: 13.57 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.1157, allocations: 301.7 kB / 0.8543 GB, free: 13.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1157, allocations: 4 kB / 0.8543 GB, free: 13.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.1157, allocations: 4.688 kB / 0.8543 GB, free: 13.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1157, allocations: 4 kB / 0.8543 GB, free: 13.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.116, allocations: 253.5 kB / 0.8546 GB, free: 12.98 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.1167, allocations: 0.64 MB / 0.8552 GB, free: 12.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2306/0.3473, allocations: 268.8 kB / 0.8555 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.3476, allocations: 159.6 kB / 0.8556 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3476, allocations: 1.188 kB / 0.8556 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.3479, allocations: 369.3 kB / 0.856 GB, free: 20.9 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.277e-06/0.348, allocations: 1.375 kB / 0.856 GB, free: 20.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001403/0.3494, allocations: 1.14 MB / 0.8571 GB, free: 20.4 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3494, allocations: 219.5 kB / 0.8573 GB, free: 20.15 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3496, allocations: 259.2 kB / 0.8575 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3496, allocations: 33.3 kB / 0.8576 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.3497, allocations: 154.1 kB / 0.8577 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.3497, allocations: 118.2 kB / 0.8578 GB, free: 19.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/0.3498, allocations: 79.7 kB / 0.8579 GB, free: 19.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.3499, allocations: 344.4 kB / 0.8582 GB, free: 19.53 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3501, allocations: 225.8 kB / 0.8585 GB, free: 19.42 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3503, allocations: 322.3 kB / 0.8588 GB, free: 19.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.3506, allocations: 455.7 kB / 0.8592 GB, free: 18.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3506, allocations: 0.5 kB / 0.8592 GB, free: 18.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004669/0.3511, allocations: 0.5771 MB / 0.8598 GB, free: 18.69 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.3511, allocations: 89.16 kB / 0.8599 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3511, allocations: 6.406 kB / 0.8599 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3511, allocations: 9.281 kB / 0.8599 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3513, allocations: 79.05 kB / 0.8599 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3513, allocations: 6 kB / 0.8599 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3514, allocations: 21.45 kB / 0.86 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3515, allocations: 19.88 kB / 0.86 GB, free: 18.59 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.0001793/0.3516, allocations: 239 kB / 0.8602 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3517, allocations: 29.97 kB / 0.8602 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.3517, allocations: 34.8 kB / 0.8603 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3517, allocations: 6.5 kB / 0.8603 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3517, allocations: 4.266 kB / 0.8603 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3517, allocations: 1.266 kB / 0.8603 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.3524, allocations: 0.8177 MB / 0.8611 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3524, allocations: 2.344 kB / 0.8611 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.3526, allocations: 57.61 kB / 0.8611 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3526, allocations: 0.625 kB / 0.8611 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.3526, allocations: 15.86 kB / 0.8612 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.3526, allocations: 5 kB / 0.8612 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3526, allocations: 0.5 kB / 0.8612 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.3533, allocations: 0.7591 MB / 0.8619 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.3534, allocations: 60.67 kB / 0.862 GB, free: 17.66 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.3534, allocations: 12.48 kB / 0.862 GB, free: 17.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3535, allocations: 20.3 kB / 0.862 GB, free: 17.66 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.3536, allocations: 31.39 kB / 0.862 GB, free: 17.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.3536, allocations: 8.484 kB / 0.862 GB, free: 17.66 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001156/0.3537, allocations: 185.3 kB / 0.8622 GB, free: 17.57 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3537, allocations: 3.25 kB / 0.8622 GB, free: 17.57 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002299/0.354, allocations: 85.12 kB / 0.8623 GB, free: 17.57 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.0001081/0.3541, allocations: 137.4 kB / 0.8624 GB, free: 17.49 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.3545, allocations: 0.5884 MB / 0.863 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3545, allocations: 0 / 0.863 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.3548, allocations: 317 kB / 0.8633 GB, free: 16.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3552, allocations: 93.67 kB / 0.8634 GB, free: 16.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3564, allocations: 1.069 MB / 0.8644 GB, free: 16.4 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.3565, allocations: 163.8 kB / 0.8646 GB, free: 16.32 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.3566, allocations: 28.19 kB / 0.8646 GB, free: 16.31 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.3566, allocations: 0 / 0.8646 GB, free: 16.31 MB / 490.8 MB Notification: Performance of Templates: time 0.005993/0.3626, allocations: 4.35 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.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.132305516861379]