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_final.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.001367/0.001367, allocations: 104.3 kB / 19.71 MB, free: 436 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.001553/0.001553, allocations: 217.3 kB / 23 MB, free: 2.969 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.009/1.009, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.7083/0.7083, allocations: 312.3 MB / 0.6108 GB, free: 97.66 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.N03AX22_Perampanel.Perampanel_Silva2023_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=950400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=950400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final") [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.004125/0.004125, allocations: 80.91 kB / 0.7699 GB, free: 20.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1238, allocations: 73.99 MB / 0.8421 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final): time 0.003001/0.1268, allocations: 2.295 MB / 0.8444 GB, free: 8.051 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005813/0.1327, allocations: 6.533 MB / 0.8507 GB, free: 1.516 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.1328, allocations: 0.5625 kB / 0.8507 GB, free: 1.516 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.133, allocations: 27.72 kB / 0.8508 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1332, allocations: 80.48 kB / 0.8508 GB, free: 1.41 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1334, allocations: 48.5 kB / 0.8509 GB, free: 1.363 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.1336, allocations: 263.4 kB / 0.8511 GB, free: 1.105 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1338, allocations: 32.56 kB / 0.8512 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1339, allocations: 100.1 kB / 0.8513 GB, free: 0.9766 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1341, allocations: 100.1 kB / 0.8514 GB, free: 0.8789 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1341, allocations: 16.62 kB / 0.8514 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.934e-05/0.1341, allocations: 16 kB / 0.8514 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.1342, allocations: 36.34 kB / 0.8514 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/0.1343, allocations: 96.14 kB / 0.8515 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1345, allocations: 199.2 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1345, allocations: 0.5 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1345, allocations: 0.75 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1345, allocations: 0 / 0.8517 GB, free: 0.5234 MB / 474.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.0007443/0.1352, allocations: 498.7 kB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1353, allocations: 8.031 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.1353, allocations: 29.44 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1355, allocations: 179.7 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1355, allocations: 20.53 kB / 0.8524 GB, free: 15.73 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.1356, allocations: 20.55 kB / 0.8524 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.1358, allocations: 195 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1358, allocations: 3.938 kB / 0.8526 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1358, allocations: 0.7812 kB / 0.8526 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1359, allocations: 7.984 kB / 0.8526 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.136, allocations: 143.4 kB / 0.8528 GB, free: 15.35 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.1366, allocations: 486.6 kB / 0.8532 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.1369, allocations: 169.2 kB / 0.8534 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.137, allocations: 107.7 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.137, allocations: 0 / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1373, allocations: 225.7 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.1373, allocations: 0.7188 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.000918/0.1382, allocations: 0.6968 MB / 0.8544 GB, free: 13.54 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1382, allocations: 140.5 kB / 0.8545 GB, free: 13.38 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1384, allocations: 212.5 kB / 0.8547 GB, free: 13.16 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1384, allocations: 34.33 kB / 0.8548 GB, free: 13.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.1385, allocations: 132.5 kB / 0.8549 GB, free: 12.99 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1385, allocations: 75.95 kB / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.1386, allocations: 58.27 kB / 0.855 GB, free: 12.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.1386, allocations: 334.8 kB / 0.8553 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1388, allocations: 145.5 kB / 0.8555 GB, free: 12.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1389, allocations: 226.5 kB / 0.8557 GB, free: 12.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2608/0.3997, allocations: 278.2 kB / 0.8559 GB, free: 30.34 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3997, allocations: 2.375 kB / 0.8559 GB, free: 30.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004609/0.4002, allocations: 387.5 kB / 0.8563 GB, free: 30.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.4002, allocations: 65.23 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4002, allocations: 7.016 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.4002, allocations: 5.438 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4004, allocations: 49.56 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4004, allocations: 8.469 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.4005, allocations: 15.38 kB / 0.8565 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.4005, allocations: 11.66 kB / 0.8565 GB, free: 30.11 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.0001865/0.4007, allocations: 175.2 kB / 0.8566 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.4007, allocations: 24.47 kB / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.4008, allocations: 23.86 kB / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4008, allocations: 5.25 kB / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4008, allocations: 3.625 kB / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4008, allocations: 0.8438 kB / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.4013, allocations: 0.5414 MB / 0.8572 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4013, allocations: 3.062 kB / 0.8572 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.4014, allocations: 34.39 kB / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4014, allocations: 1.312 kB / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.4015, allocations: 9.969 kB / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4015, allocations: 9.719 kB / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4015, allocations: 0 / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.4019, allocations: 495.8 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.4019, allocations: 24.34 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.402, allocations: 6.781 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.4021, allocations: 15.69 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.4021, allocations: 23.95 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.4021, allocations: 9.344 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.123e-05/0.4022, allocations: 157.5 kB / 0.858 GB, free: 29.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4022, allocations: 2.375 kB / 0.858 GB, free: 29.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002037/0.4024, allocations: 52.5 kB / 0.858 GB, free: 29.36 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.706e-05/0.4025, allocations: 118.4 kB / 0.8581 GB, free: 29.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.4029, allocations: 380.4 kB / 0.8585 GB, free: 29.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4029, allocations: 0 / 0.8585 GB, free: 29.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.403, allocations: 172.2 kB / 0.8587 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4033, allocations: 67.59 kB / 0.8587 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009508/0.4043, allocations: 0.6965 MB / 0.8594 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.549e-05/0.4044, allocations: 131 kB / 0.8595 GB, free: 28.56 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.4044, allocations: 23.5 kB / 0.8596 GB, free: 28.55 MB / 490.8 MB Notification: Performance of SimCode: time 8.92e-07/0.4044, allocations: 0.5938 kB / 0.8596 GB, free: 28.55 MB / 490.8 MB Notification: Performance of Templates: time 0.00444/0.4089, allocations: 2.943 MB / 0.8624 GB, free: 28.35 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.434925517998636]