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.0006924/0.0006924, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009282/0.001621, allocations: 440 kB / 10.41 MB, free: 284 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.0006909/0.0006909, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001335/0.002026, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9649/0.9649, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09318/1.058, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.6888/0.6888, allocations: 291.2 MB / 0.5228 GB, free: 52.67 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02376/0.7126, allocations: 21.05 MB / 0.5434 GB, free: 31.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_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: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5448 GB, free: 30.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.077e-05, allocations: 6.25 kB / 0.5448 GB, free: 30.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel_Silva2023_base): time 0.001899/0.00191, allocations: 2.491 MB / 0.5472 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.005351, allocations: 6.692 MB / 0.5537 GB, free: 21.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.005429, allocations: 4 kB / 0.5537 GB, free: 21.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.464e-05/0.005493, allocations: 23.72 kB / 0.5538 GB, free: 21.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.005617, allocations: 87.25 kB / 0.5538 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.005743, allocations: 59.81 kB / 0.5539 GB, free: 20.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.005929, allocations: 270.6 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.006031, allocations: 38.52 kB / 0.5542 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.006205, allocations: 180.2 kB / 0.5544 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.006349, allocations: 87.72 kB / 0.5545 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.006373, allocations: 16 kB / 0.5545 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.415e-05/0.006397, allocations: 16 kB / 0.5545 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.006425, allocations: 27.88 kB / 0.5545 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.006478, allocations: 59.88 kB / 0.5546 GB, free: 20.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.006632, allocations: 139.5 kB / 0.5547 GB, free: 20.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.006642, allocations: 4 kB / 0.5547 GB, free: 20.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006643, allocations: 0 / 0.5547 GB, free: 20.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.006651, allocations: 0 / 0.5547 GB, free: 20.05 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.000503/0.007154, allocations: 0.4937 MB / 0.5552 GB, free: 19.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.007183, allocations: 15.89 kB / 0.5552 GB, free: 19.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.007227, allocations: 24.91 kB / 0.5552 GB, free: 19.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.007367, allocations: 183 kB / 0.5554 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.007383, allocations: 8.609 kB / 0.5554 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.007408, allocations: 20.38 kB / 0.5554 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.007558, allocations: 151.5 kB / 0.5556 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.007568, allocations: 4 kB / 0.5556 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.007579, allocations: 7.984 kB / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.007586, allocations: 4 kB / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.007661, allocations: 82.52 kB / 0.5557 GB, free: 18.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.008022, allocations: 361 kB / 0.556 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.008186, allocations: 112.2 kB / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.008221, allocations: 58.55 kB / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.008229, allocations: 0 / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.00835, allocations: 195.6 kB / 0.5564 GB, free: 18.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.008352, allocations: 0 / 0.5564 GB, free: 18.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004919/0.008844, allocations: 0.5205 MB / 0.5569 GB, free: 17.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.008877, allocations: 170.2 kB / 0.557 GB, free: 17.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.008961, allocations: 210 kB / 0.5572 GB, free: 17.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.008973, allocations: 29.7 kB / 0.5573 GB, free: 17.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.009004, allocations: 120.4 kB / 0.5574 GB, free: 17.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.009031, allocations: 67.47 kB / 0.5574 GB, free: 16.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.009085, allocations: 55.17 kB / 0.5575 GB, free: 16.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.136e-05/0.009116, allocations: 330.8 kB / 0.5578 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.009163, allocations: 96.98 kB / 0.5579 GB, free: 16.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.00922, allocations: 184.2 kB / 0.5581 GB, free: 16.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.009314, allocations: 215.8 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.009315, allocations: 0 / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00014/0.009455, allocations: 264.3 kB / 0.5585 GB, free: 15.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.009484, allocations: 67.61 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009488, allocations: 4 kB / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.009498, allocations: 0 / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.009647, allocations: 71.89 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.009652, allocations: 2.734 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.00973, allocations: 23.92 kB / 0.5587 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.009739, allocations: 7.938 kB / 0.5587 GB, free: 15.52 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 8.98e-05/0.009829, allocations: 173.6 kB / 0.5589 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.00985, allocations: 27.97 kB / 0.5589 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.009877, allocations: 25.95 kB / 0.5589 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.009879, allocations: 4 kB / 0.5589 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.00988, allocations: 0 / 0.5589 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.009884, allocations: 0 / 0.5589 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.01012, allocations: 370.3 kB / 0.5593 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01012, allocations: 3.938 kB / 0.5593 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.01045, allocations: 42.97 kB / 0.5593 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.01047, allocations: 27.84 kB / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01047, allocations: 0 / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01048, allocations: 4 kB / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01048, allocations: 4 kB / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01049, allocations: 0 / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.223/0.2335, allocations: 344.9 kB / 0.5597 GB, free: 79.34 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.2335, allocations: 7.688 kB / 0.5597 GB, free: 79.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.2336, allocations: 12.42 kB / 0.5597 GB, free: 79.34 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.2337, allocations: 20.75 kB / 0.5597 GB, free: 79.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2337, allocations: 9.797 kB / 0.5597 GB, free: 79.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.401e-05/0.2337, allocations: 62.52 kB / 0.5598 GB, free: 79.34 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2337, allocations: 2.688 kB / 0.5598 GB, free: 79.34 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002137/0.234, allocations: 56.41 kB / 0.5599 GB, free: 79.34 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 9.708e-05/0.2341, allocations: 96.08 kB / 0.5599 GB, free: 79.27 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.2342, allocations: 305 kB / 0.5602 GB, free: 79.04 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.2343, allocations: 5.516 kB / 0.5602 GB, free: 79.04 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.2343, allocations: 148.2 kB / 0.5604 GB, free: 78.94 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.2346, allocations: 0.5042 MB / 0.5609 GB, free: 78.44 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.2399, allocations: 0.5623 MB / 0.5614 GB, free: 78.17 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.766e-05/0.24, allocations: 82.11 kB / 0.5615 GB, free: 78.1 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 6.745e-05/0.24, allocations: 27.03 kB / 0.5615 GB, free: 78.1 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.2402, allocations: 114 kB / 0.5616 GB, free: 78.06 MB / 410.8 MB Notification: Performance of SimCode: time 7.91e-07/0.2402, allocations: 0 / 0.5616 GB, free: 78.06 MB / 410.8 MB Notification: Performance of Templates: time 0.00513/0.2453, allocations: 3.808 MB / 0.5654 GB, free: 77.84 MB / 410.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: 3.991762451827526]