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.0009326/0.0009326, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009142/0.0009142, allocations: 166.3 kB / 23.21 MB, free: 1.332 MB / 18.57 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.8778/0.8778, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.6253/0.6253, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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 1.423e-06/1.423e-06, allocations: 0 / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.066e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_final): time 0.002639/0.002659, allocations: 2.299 MB / 0.6996 GB, free: 8.121 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004829/0.007489, allocations: 6.541 MB / 0.706 GB, free: 1.57 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.007596, allocations: 0 / 0.706 GB, free: 1.57 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.007708, allocations: 23.72 kB / 0.706 GB, free: 1.547 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.007905, allocations: 91.25 kB / 0.7061 GB, free: 1.457 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.008097, allocations: 55.81 kB / 0.7061 GB, free: 1.402 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.008323, allocations: 262.6 kB / 0.7064 GB, free: 1.145 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.008455, allocations: 40.56 kB / 0.7064 GB, free: 1.109 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.008594, allocations: 135.7 kB / 0.7065 GB, free: 0.9766 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.008761, allocations: 83.72 kB / 0.7066 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.008792, allocations: 20 kB / 0.7066 GB, free: 0.875 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.947e-05/0.008821, allocations: 19.94 kB / 0.7067 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.008853, allocations: 39.78 kB / 0.7067 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.008925, allocations: 75.83 kB / 0.7068 GB, free: 0.7422 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.00912, allocations: 203.4 kB / 0.707 GB, free: 0.543 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.009122, allocations: 0 / 0.707 GB, free: 0.543 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.009123, allocations: 0 / 0.707 GB, free: 0.543 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.009128, allocations: 4 kB / 0.707 GB, free: 0.5391 MB / 410.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.0006483/0.009777, allocations: 492.8 kB / 0.7074 GB, free: 12 kB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.009818, allocations: 8.031 kB / 0.7074 GB, free: 4 kB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.009893, allocations: 24.84 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.01012, allocations: 182.3 kB / 0.7076 GB, free: 15.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.01014, allocations: 8.609 kB / 0.7077 GB, free: 15.77 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.01017, allocations: 16.38 kB / 0.7077 GB, free: 15.75 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.01049, allocations: 198.5 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.0105, allocations: 3.953 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.01052, allocations: 8 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.01053, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.0108, allocations: 150.2 kB / 0.708 GB, free: 15.38 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.0115, allocations: 485.4 kB / 0.7085 GB, free: 14.87 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.01189, allocations: 190.5 kB / 0.7087 GB, free: 14.67 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.01203, allocations: 94.52 kB / 0.7087 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.01204, allocations: 4 kB / 0.7087 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.01231, allocations: 228.4 kB / 0.709 GB, free: 14.31 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.724e-06/0.01231, allocations: 0 / 0.709 GB, free: 14.31 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001162/0.01347, allocations: 0.7082 MB / 0.7097 GB, free: 13.54 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.01354, allocations: 136.5 kB / 0.7098 GB, free: 13.38 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.01374, allocations: 220 kB / 0.71 GB, free: 13.16 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.01376, allocations: 29.7 kB / 0.71 GB, free: 13.12 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.01383, allocations: 136.5 kB / 0.7102 GB, free: 12.98 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.01388, allocations: 67.42 kB / 0.7102 GB, free: 12.92 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.01396, allocations: 53.69 kB / 0.7103 GB, free: 12.86 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.01405, allocations: 342.8 kB / 0.7106 GB, free: 12.52 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.01425, allocations: 141 kB / 0.7107 GB, free: 12.36 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.01447, allocations: 221.3 kB / 0.7109 GB, free: 12.1 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.01482, allocations: 284.8 kB / 0.7112 GB, free: 11.78 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01483, allocations: 0 / 0.7112 GB, free: 11.78 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004858/0.01531, allocations: 390.6 kB / 0.7116 GB, free: 11.37 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.01535, allocations: 63.41 kB / 0.7116 GB, free: 11.29 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01536, allocations: 4.219 kB / 0.7117 GB, free: 11.29 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.01537, allocations: 8 kB / 0.7117 GB, free: 11.28 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.01555, allocations: 55.83 kB / 0.7117 GB, free: 11.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01556, allocations: 7.938 kB / 0.7117 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.01569, allocations: 15.98 kB / 0.7117 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.01571, allocations: 12 kB / 0.7117 GB, free: 11.19 MB / 426.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.0001609/0.01587, allocations: 172.3 kB / 0.7119 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.0159, allocations: 23.91 kB / 0.7119 GB, free: 10.98 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.01594, allocations: 21.97 kB / 0.712 GB, free: 10.96 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01595, allocations: 7.984 kB / 0.712 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01595, allocations: 3.938 kB / 0.712 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01596, allocations: 0 / 0.712 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.0166, allocations: 0.5367 MB / 0.7125 GB, free: 10.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.0166, allocations: 0 / 0.7125 GB, free: 10.36 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.01675, allocations: 35.97 kB / 0.7125 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01675, allocations: 0 / 0.7125 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.01677, allocations: 12 kB / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01677, allocations: 0 / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01677, allocations: 4 kB / 0.7125 GB, free: 10.31 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.01737, allocations: 0.4984 MB / 0.713 GB, free: 9.785 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.0174, allocations: 19.86 kB / 0.713 GB, free: 9.766 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.01744, allocations: 12.03 kB / 0.7131 GB, free: 9.754 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.01757, allocations: 15.98 kB / 0.7131 GB, free: 9.738 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.01764, allocations: 19.97 kB / 0.7131 GB, free: 9.719 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.01765, allocations: 8 kB / 0.7131 GB, free: 9.711 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001222/0.01777, allocations: 159.3 kB / 0.7133 GB, free: 9.555 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01777, allocations: 0 / 0.7133 GB, free: 9.555 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003019/0.01808, allocations: 56 kB / 0.7133 GB, free: 9.5 MB / 426.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.0001057/0.01818, allocations: 117.3 kB / 0.7134 GB, free: 9.379 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.01862, allocations: 387.8 kB / 0.7138 GB, free: 8.957 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.01863, allocations: 0 / 0.7138 GB, free: 8.957 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.01876, allocations: 169 kB / 0.7139 GB, free: 8.773 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.01904, allocations: 64.14 kB / 0.714 GB, free: 8.711 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007173/0.01975, allocations: 0.6031 MB / 0.7146 GB, free: 8.07 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.112e-05/0.01982, allocations: 129.6 kB / 0.7147 GB, free: 7.922 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.01987, allocations: 20.5 kB / 0.7147 GB, free: 7.902 MB / 426.8 MB Notification: Performance of SimCode: time 4.91e-07/0.01987, allocations: 0 / 0.7147 GB, free: 7.902 MB / 426.8 MB Notification: Performance of Templates: time 0.002934/0.02281, allocations: 2.939 MB / 0.7176 GB, free: 4.992 MB / 426.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: 5.744012577459216]