Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.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.002394/0.002394, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002833/0.002833, allocations: 218.2 kB / 22.25 MB, free: 3.559 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.737/1.737, allocations: 230.6 MB / 256 MB, free: 9.594 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.442/1.442, allocations: 316.7 MB / 0.6144 GB, free: 92.91 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel") [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.003951/0.003951, allocations: 73.64 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1388, allocations: 73.99 MB / 0.8472 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel): time 0.004003/0.1428, allocations: 2.309 MB / 0.8495 GB, free: 2.594 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2651/0.4079, allocations: 6.521 MB / 0.8559 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.4081, allocations: 3.594 kB / 0.8559 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.4082, allocations: 25.55 kB / 0.8559 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.4084, allocations: 84.47 kB / 0.856 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.4086, allocations: 58.72 kB / 0.856 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.4089, allocations: 258 kB / 0.8563 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.409, allocations: 34.03 kB / 0.8563 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.4091, allocations: 95.58 kB / 0.8564 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.4093, allocations: 99.52 kB / 0.8565 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.4093, allocations: 19.53 kB / 0.8565 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.017e-05/0.4094, allocations: 17.31 kB / 0.8565 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.4094, allocations: 40.3 kB / 0.8566 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.4095, allocations: 94.19 kB / 0.8567 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.4097, allocations: 197.6 kB / 0.8569 GB, free: 21.77 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4097, allocations: 0 / 0.8569 GB, free: 21.77 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4097, allocations: 1.406 kB / 0.8569 GB, free: 21.77 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4097, allocations: 3.938 kB / 0.8569 GB, free: 21.76 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.0007077/0.4104, allocations: 498.3 kB / 0.8573 GB, free: 21.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.4105, allocations: 10.12 kB / 0.8573 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.4105, allocations: 24.77 kB / 0.8574 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.4107, allocations: 185.3 kB / 0.8575 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4107, allocations: 11.45 kB / 0.8576 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.4108, allocations: 18.67 kB / 0.8576 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.4111, allocations: 190.9 kB / 0.8578 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4111, allocations: 3.875 kB / 0.8578 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4111, allocations: 5.594 kB / 0.8578 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4111, allocations: 3.312 kB / 0.8578 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.4114, allocations: 144.9 kB / 0.8579 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.4121, allocations: 483 kB / 0.8584 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.4125, allocations: 177.7 kB / 0.8585 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.4127, allocations: 92 kB / 0.8586 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.4127, allocations: 6.594 kB / 0.8586 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.413, allocations: 228.5 kB / 0.8588 GB, free: 20.54 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.413, allocations: 0.625 kB / 0.8588 GB, free: 20.54 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001245/0.4142, allocations: 0.7055 MB / 0.8595 GB, free: 20.18 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.4143, allocations: 134.2 kB / 0.8597 GB, free: 20.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.4144, allocations: 216.5 kB / 0.8599 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4145, allocations: 34.61 kB / 0.8599 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.4145, allocations: 132.4 kB / 0.86 GB, free: 19.79 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.4145, allocations: 72.61 kB / 0.8601 GB, free: 19.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.4146, allocations: 61.8 kB / 0.8602 GB, free: 19.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.4147, allocations: 333.6 kB / 0.8605 GB, free: 19.41 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.4149, allocations: 144.8 kB / 0.8606 GB, free: 19.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.4151, allocations: 226.4 kB / 0.8608 GB, free: 19.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.4154, allocations: 280.5 kB / 0.8611 GB, free: 19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4154, allocations: 4.5 kB / 0.8611 GB, free: 19 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005111/0.4159, allocations: 388.8 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.416, allocations: 66.61 kB / 0.8615 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.416, allocations: 3.938 kB / 0.8615 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.416, allocations: 5 kB / 0.8615 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.4162, allocations: 52.42 kB / 0.8616 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4162, allocations: 8.094 kB / 0.8616 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4164, allocations: 16.75 kB / 0.8616 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.4164, allocations: 13.31 kB / 0.8616 GB, free: 18.75 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.0001478/0.4166, allocations: 175.4 kB / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4166, allocations: 23.52 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.4166, allocations: 32.19 kB / 0.8618 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4167, allocations: 3.938 kB / 0.8619 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4167, allocations: 0.75 kB / 0.8619 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4167, allocations: 1.281 kB / 0.8619 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.4173, allocations: 0.5365 MB / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4173, allocations: 0 / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.4175, allocations: 41.59 kB / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4175, allocations: 0.6562 kB / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.4175, allocations: 6.844 kB / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4175, allocations: 4.531 kB / 0.8624 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4175, allocations: 1.375 kB / 0.8624 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.4181, allocations: 0.4908 MB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.4182, allocations: 17.98 kB / 0.8629 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.4182, allocations: 11.84 kB / 0.8629 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.4184, allocations: 16.41 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.4184, allocations: 24.02 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.4185, allocations: 5.188 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000113/0.4186, allocations: 163 kB / 0.8631 GB, free: 17.92 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4186, allocations: 0 / 0.8631 GB, free: 17.92 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000297/0.4189, allocations: 57.47 kB / 0.8632 GB, free: 17.92 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 8.804e-05/0.419, allocations: 111.5 kB / 0.8633 GB, free: 17.83 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.4195, allocations: 383.2 kB / 0.8637 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4195, allocations: 0 / 0.8637 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.4197, allocations: 172.6 kB / 0.8638 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.4201, allocations: 75.59 kB / 0.8639 GB, free: 17.49 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4212, allocations: 0.6826 MB / 0.8646 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.907e-05/0.4213, allocations: 122.9 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.4215, allocations: 24.62 kB / 0.8647 GB, free: 17.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.4215, allocations: 20.77 kB / 0.8647 GB, free: 17.09 MB / 490.8 MB Notification: Performance of SimCode: time 4.01e-07/0.4215, allocations: 0 / 0.8647 GB, free: 17.09 MB / 490.8 MB Notification: Performance of Templates: time 0.007623/0.4291, allocations: 3.635 MB / 0.8683 GB, free: 16.77 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.161126618040726]