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.0009516/0.0009516, allocations: 104.4 kB / 19.71 MB, free: 440 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.001076/0.001076, allocations: 217.3 kB / 23.01 MB, free: 2.949 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.9445/0.9445, 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.6965/0.6965, allocations: 312.3 MB / 0.6109 GB, free: 97.79 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,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.001494/0.001494, allocations: 71.36 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 73.99 MB / 0.8422 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel): time 0.003002/0.1197, allocations: 2.306 MB / 0.8444 GB, free: 8.035 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.1253, allocations: 6.532 MB / 0.8508 GB, free: 1.5 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1255, allocations: 4.531 kB / 0.8508 GB, free: 1.496 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1256, allocations: 24.28 kB / 0.8508 GB, free: 1.473 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1259, allocations: 76.52 kB / 0.8509 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1261, allocations: 52.48 kB / 0.851 GB, free: 1.348 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1264, allocations: 258.7 kB / 0.8512 GB, free: 1.094 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1265, allocations: 33.14 kB / 0.8512 GB, free: 1.062 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1266, allocations: 100.2 kB / 0.8513 GB, free: 0.9648 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1268, allocations: 96.09 kB / 0.8514 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.1269, allocations: 16 kB / 0.8514 GB, free: 0.8555 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.743e-05/0.1269, allocations: 16.56 kB / 0.8515 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.1269, allocations: 43.83 kB / 0.8515 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.756e-05/0.127, allocations: 92.12 kB / 0.8516 GB, free: 0.707 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1272, allocations: 199.7 kB / 0.8518 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1272, allocations: 0.6875 kB / 0.8518 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1272, allocations: 0 / 0.8518 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1272, allocations: 4.469 kB / 0.8518 GB, free: 0.5078 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.000705/0.1279, allocations: 496.5 kB / 0.8523 GB, free: 15.98 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1279, allocations: 16.59 kB / 0.8523 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.128, allocations: 24.8 kB / 0.8523 GB, free: 15.94 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1282, allocations: 191.8 kB / 0.8525 GB, free: 15.72 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1282, allocations: 14.23 kB / 0.8525 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1282, allocations: 16.62 kB / 0.8525 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.1285, allocations: 183.1 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1285, allocations: 0.625 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1285, allocations: 11.98 kB / 0.8527 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1285, allocations: 4.531 kB / 0.8527 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1287, allocations: 147.5 kB / 0.8528 GB, free: 15.34 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.1293, allocations: 494.5 kB / 0.8533 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.1296, allocations: 173.4 kB / 0.8535 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1297, allocations: 91.16 kB / 0.8536 GB, free: 14.54 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.1297, allocations: 3.938 kB / 0.8536 GB, free: 14.54 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1299, allocations: 227.7 kB / 0.8538 GB, free: 14.29 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.1299, allocations: 0.5312 kB / 0.8538 GB, free: 14.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009089/0.1309, allocations: 0.7086 MB / 0.8545 GB, free: 13.52 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1309, allocations: 133.1 kB / 0.8546 GB, free: 13.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.131, allocations: 215 kB / 0.8548 GB, free: 13.14 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1311, allocations: 30.33 kB / 0.8548 GB, free: 13.1 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.1311, allocations: 141 kB / 0.855 GB, free: 12.96 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.1312, allocations: 67.42 kB / 0.855 GB, free: 12.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.1312, allocations: 66.28 kB / 0.8551 GB, free: 12.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.1313, allocations: 330.8 kB / 0.8554 GB, free: 12.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1314, allocations: 146.1 kB / 0.8556 GB, free: 12.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1316, allocations: 221.9 kB / 0.8558 GB, free: 12.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2475/0.3791, allocations: 280.3 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.3791, allocations: 0.6562 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004249/0.3795, allocations: 390.5 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.3795, allocations: 62.34 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3796, allocations: 2.094 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.3796, allocations: 2.688 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3797, allocations: 54.78 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3797, allocations: 8.703 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.3799, allocations: 19.8 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.3799, allocations: 12.59 kB / 0.8566 GB, free: 30.07 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.0001696/0.38, allocations: 173.7 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.3801, allocations: 30.39 kB / 0.8568 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.3801, allocations: 23.64 kB / 0.8568 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3801, allocations: 2.875 kB / 0.8568 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3801, allocations: 0 / 0.8568 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3801, allocations: 2.906 kB / 0.8568 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.3806, allocations: 0.5358 MB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.3806, allocations: 2.531 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3808, allocations: 31.38 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3808, allocations: 2.188 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3808, allocations: 6.953 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3808, allocations: 10 kB / 0.8574 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3808, allocations: 3.938 kB / 0.8574 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.3812, allocations: 499.4 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.3812, allocations: 20.59 kB / 0.8579 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3812, allocations: 6.5 kB / 0.8579 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.3813, allocations: 22.89 kB / 0.8579 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.3814, allocations: 20.06 kB / 0.8579 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3814, allocations: 8.891 kB / 0.8579 GB, free: 29.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.667e-05/0.3815, allocations: 159.2 kB / 0.8581 GB, free: 29.31 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3815, allocations: 0 / 0.8581 GB, free: 29.31 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001993/0.3817, allocations: 53.25 kB / 0.8581 GB, free: 29.31 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.954e-05/0.3818, allocations: 115.1 kB / 0.8582 GB, free: 29.22 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003402/0.3821, allocations: 378.8 kB / 0.8586 GB, free: 28.99 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3821, allocations: 0 / 0.8586 GB, free: 28.99 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3823, allocations: 172 kB / 0.8588 GB, free: 28.89 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3826, allocations: 66.52 kB / 0.8588 GB, free: 28.89 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.3835, allocations: 0.7049 MB / 0.8595 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.935e-05/0.3836, allocations: 125.6 kB / 0.8596 GB, free: 28.51 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.3836, allocations: 24.72 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of SimCode: time 8.32e-07/0.3836, allocations: 0.625 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of Templates: time 0.004383/0.388, allocations: 2.939 MB / 0.8625 GB, free: 28.3 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.079855100251734]