Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base.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.002035/0.002035, 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.00197/0.00197, allocations: 215.5 kB / 22.25 MB, free: 3.566 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.618/1.618, 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.455/1.455, 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.N03AX22_Perampanel.Perampanel_Silva2023_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base") [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.003775/0.003775, allocations: 73.38 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1375, allocations: 73.99 MB / 0.8472 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base): time 0.003938/0.1414, allocations: 2.301 MB / 0.8495 GB, free: 2.605 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2668/0.4082, allocations: 6.519 MB / 0.8558 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.4084, allocations: 3.234 kB / 0.8558 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.4085, allocations: 26.39 kB / 0.8559 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.4087, allocations: 81.92 kB / 0.8559 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.4089, allocations: 52.61 kB / 0.856 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.4092, allocations: 260.3 kB / 0.8562 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4093, allocations: 33.94 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.4094, allocations: 97.02 kB / 0.8564 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.4096, allocations: 102.8 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.4097, allocations: 17.91 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.799e-05/0.4097, allocations: 16.12 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.4097, allocations: 36.67 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.4098, allocations: 94.36 kB / 0.8566 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.41, allocations: 195.6 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.41, allocations: 2.625 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.41, allocations: 0 / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.41, allocations: 0 / 0.8568 GB, free: 21.8 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.0007492/0.4108, allocations: 0.4917 MB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.4108, allocations: 8.344 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.4109, allocations: 24.64 kB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.4111, allocations: 186 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4111, allocations: 12.7 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.4111, allocations: 23.67 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.4115, allocations: 189.1 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4115, allocations: 3 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4115, allocations: 7.25 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4115, allocations: 1 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.4118, allocations: 148.2 kB / 0.8579 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.4125, allocations: 483.7 kB / 0.8583 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.4129, allocations: 172.7 kB / 0.8585 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.4131, allocations: 101.5 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.4131, allocations: 0 / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.4134, allocations: 227 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.4134, allocations: 0.625 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001282/0.4147, allocations: 0.6942 MB / 0.8595 GB, free: 20.22 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.4147, allocations: 140.5 kB / 0.8596 GB, free: 20.06 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.4149, allocations: 216.2 kB / 0.8598 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4149, allocations: 33.14 kB / 0.8599 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.415, allocations: 133.6 kB / 0.86 GB, free: 19.83 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.415, allocations: 73.86 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.4151, allocations: 53.09 kB / 0.8601 GB, free: 19.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.4152, allocations: 345.1 kB / 0.8604 GB, free: 19.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.4154, allocations: 141.6 kB / 0.8606 GB, free: 19.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.4156, allocations: 228.3 kB / 0.8608 GB, free: 19.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.4159, allocations: 280.3 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4159, allocations: 1.875 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005209/0.4164, allocations: 388 kB / 0.8614 GB, free: 18.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.4165, allocations: 63.72 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4165, allocations: 5.125 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4165, allocations: 5.406 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.4167, allocations: 54.11 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.4167, allocations: 3.281 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.4169, allocations: 18.92 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.4169, allocations: 13.97 kB / 0.8616 GB, free: 18.79 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.0001361/0.4171, allocations: 173.4 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.4171, allocations: 23.73 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.4171, allocations: 29.31 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4171, allocations: 3.594 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4171, allocations: 2.234 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4171, allocations: 0 / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006249/0.4178, allocations: 0.5444 MB / 0.8623 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4178, allocations: 2.156 kB / 0.8623 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.418, allocations: 38.91 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.418, allocations: 0 / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.418, allocations: 7.469 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.418, allocations: 3.938 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.418, allocations: 2.344 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.4186, allocations: 499.2 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.4187, allocations: 21.7 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.4187, allocations: 3.469 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.4189, allocations: 18.66 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.4189, allocations: 27.84 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.419, allocations: 9.812 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001117/0.4191, allocations: 157.7 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.4191, allocations: 0.7188 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002865/0.4194, allocations: 54.75 kB / 0.8631 GB, free: 17.96 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 9.465e-05/0.4194, allocations: 117.5 kB / 0.8633 GB, free: 17.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005199/0.42, allocations: 382.5 kB / 0.8636 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.42, allocations: 1.594 kB / 0.8636 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.4202, allocations: 175.5 kB / 0.8638 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.4206, allocations: 61.7 kB / 0.8639 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.4218, allocations: 0.6839 MB / 0.8645 GB, free: 17.22 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.4219, allocations: 127.2 kB / 0.8646 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.403e-05/0.422, allocations: 25.12 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.422, allocations: 20.73 kB / 0.8647 GB, free: 17.13 MB / 490.8 MB Notification: Performance of SimCode: time 3.31e-07/0.422, allocations: 1 kB / 0.8647 GB, free: 17.13 MB / 490.8 MB Notification: Performance of Templates: time 0.007905/0.4299, allocations: 3.643 MB / 0.8682 GB, free: 16.8 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.121646475046873]