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.00111/0.00111, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.002803, allocations: 455.9 kB / 10.35 MB, free: 348 kB / 10.45 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.001064/0.001064, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002374, allocations: 479.6 kB / 11.71 MB, free: 2.461 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1083/1.145, allocations: 53.67 MB / 243.3 MB, free: 15.55 MB / 250.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.8126/0.8126, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03888/0.8515, allocations: 21.04 MB / 0.5432 GB, free: 31.72 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: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.032e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final): time 0.004419/0.00445, allocations: 2.496 MB / 0.547 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008505/0.01296, allocations: 6.696 MB / 0.5536 GB, free: 21.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/0.01332, allocations: 0 / 0.5536 GB, free: 21.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.01349, allocations: 23.72 kB / 0.5536 GB, free: 21.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.01382, allocations: 95.25 kB / 0.5537 GB, free: 21.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.01407, allocations: 55.81 kB / 0.5537 GB, free: 20.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.01439, allocations: 262.6 kB / 0.554 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.01455, allocations: 34.53 kB / 0.554 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.01485, allocations: 180.2 kB / 0.5542 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.0151, allocations: 83.78 kB / 0.5543 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.01515, allocations: 16 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.106e-05/0.01519, allocations: 16 kB / 0.5543 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.01523, allocations: 27.88 kB / 0.5543 GB, free: 20.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.01532, allocations: 67.88 kB / 0.5544 GB, free: 20.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.0156, allocations: 143.5 kB / 0.5545 GB, free: 20.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.079e-05/0.01562, allocations: 0 / 0.5545 GB, free: 20.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.01562, allocations: 0 / 0.5545 GB, free: 20.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.01564, allocations: 0 / 0.5545 GB, free: 20.14 MB / 410.7 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.0008693/0.01651, allocations: 0.4975 MB / 0.555 GB, free: 19.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.01656, allocations: 19.84 kB / 0.555 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.01662, allocations: 20.92 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.01688, allocations: 187 kB / 0.5552 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.01691, allocations: 8.609 kB / 0.5553 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.01695, allocations: 16.36 kB / 0.5553 GB, free: 19.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.01722, allocations: 155.5 kB / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.01724, allocations: 0 / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.01725, allocations: 4 kB / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.01726, allocations: 4 kB / 0.5554 GB, free: 19.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.01739, allocations: 84.62 kB / 0.5555 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.01799, allocations: 365 kB / 0.5559 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.01828, allocations: 112.2 kB / 0.556 GB, free: 18.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.01834, allocations: 62.53 kB / 0.556 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.01835, allocations: 4 kB / 0.556 GB, free: 18.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.01859, allocations: 196.3 kB / 0.5562 GB, free: 18.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.437e-06/0.0186, allocations: 0 / 0.5562 GB, free: 18.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009146/0.01951, allocations: 0.5159 MB / 0.5567 GB, free: 17.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.01958, allocations: 158.2 kB / 0.5569 GB, free: 17.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.01976, allocations: 214 kB / 0.5571 GB, free: 17.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.01978, allocations: 29.7 kB / 0.5571 GB, free: 17.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.01983, allocations: 120.4 kB / 0.5572 GB, free: 17.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.01988, allocations: 63.48 kB / 0.5573 GB, free: 17.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.01997, allocations: 59.16 kB / 0.5573 GB, free: 17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.581e-05/0.02002, allocations: 334.7 kB / 0.5576 GB, free: 16.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.02011, allocations: 97 kB / 0.5577 GB, free: 16.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.02022, allocations: 179.7 kB / 0.5579 GB, free: 16.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.02039, allocations: 213.6 kB / 0.5581 GB, free: 16.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.0204, allocations: 0 / 0.5581 GB, free: 16.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002685/0.02067, allocations: 264.3 kB / 0.5584 GB, free: 15.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.02072, allocations: 63.39 kB / 0.5584 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.02073, allocations: 3.375 kB / 0.5584 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.02075, allocations: 4 kB / 0.5584 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.02103, allocations: 63.91 kB / 0.5585 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.02103, allocations: 10.72 kB / 0.5585 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.02116, allocations: 15.94 kB / 0.5585 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.02117, allocations: 8 kB / 0.5585 GB, free: 15.62 MB / 410.7 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.0001716/0.02135, allocations: 181.7 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.02138, allocations: 23.97 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.02143, allocations: 21.97 kB / 0.5587 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.02144, allocations: 0 / 0.5587 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.02144, allocations: 0 / 0.5587 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.02145, allocations: 7.984 kB / 0.5588 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.02185, allocations: 369.1 kB / 0.5591 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.02186, allocations: 3.938 kB / 0.5591 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.02206, allocations: 47.91 kB / 0.5592 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.02209, allocations: 19.86 kB / 0.5592 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.02209, allocations: 4 kB / 0.5592 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.02211, allocations: 3.984 kB / 0.5592 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.02211, allocations: 0 / 0.5592 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.02211, allocations: 4 kB / 0.5592 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3648/0.3869, allocations: 339.8 kB / 0.5595 GB, free: 79.38 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.3869, allocations: 10.44 kB / 0.5595 GB, free: 79.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3871, allocations: 16.59 kB / 0.5595 GB, free: 79.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.3871, allocations: 21.14 kB / 0.5596 GB, free: 79.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3871, allocations: 9.984 kB / 0.5596 GB, free: 79.38 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.68e-05/0.3872, allocations: 61 kB / 0.5596 GB, free: 79.38 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.3872, allocations: 0 / 0.5596 GB, free: 79.38 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002256/0.3875, allocations: 54.84 kB / 0.5597 GB, free: 79.38 MB / 410.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.000125/0.3876, allocations: 101.2 kB / 0.5598 GB, free: 79.31 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.3878, allocations: 306.1 kB / 0.5601 GB, free: 79.08 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.3879, allocations: 2.094 kB / 0.5601 GB, free: 79.08 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.388, allocations: 154.1 kB / 0.5602 GB, free: 78.98 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3883, allocations: 92.7 kB / 0.5603 GB, free: 78.98 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.3937, allocations: 0.5505 MB / 0.5608 GB, free: 78.71 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.988e-05/0.3938, allocations: 81.69 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.3939, allocations: 29.06 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.3941, allocations: 115.2 kB / 0.5611 GB, free: 78.6 MB / 410.8 MB Notification: Performance of SimCode: time 1.243e-06/0.3941, allocations: 0 / 0.5611 GB, free: 78.6 MB / 410.8 MB Notification: Performance of Templates: time 0.00728/0.4014, allocations: 3.796 MB / 0.5648 GB, free: 78.37 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.622271944768727]