Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.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.0006834/0.0006834, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002091, allocations: 435.8 kB / 10.31 MB, free: 384 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.001025/0.001025, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002349, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.009/1.009, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07827/1.088, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7101/0.7101, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02457/0.7347, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.698e-06/1.093e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference): time 0.001831/0.001842, allocations: 2.477 MB / 0.5469 GB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000592/0.002434, allocations: 0.627 MB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.002499, allocations: 4 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.546e-05/0.002554, allocations: 23.72 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.002671, allocations: 83.27 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.00278, allocations: 67.8 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.002946, allocations: 258.6 kB / 0.5479 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.003045, allocations: 38.53 kB / 0.548 GB, free: 27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.003209, allocations: 172.2 kB / 0.5481 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.003361, allocations: 83.78 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.003389, allocations: 16 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.464e-05/0.003413, allocations: 20 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.00344, allocations: 23.88 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.003496, allocations: 63.88 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.00366, allocations: 151.4 kB / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.003675, allocations: 0 / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003675, allocations: 0 / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.003686, allocations: 4 kB / 0.5485 GB, free: 26.47 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.0005793/0.004266, allocations: 0.4937 MB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.004301, allocations: 11.89 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.004348, allocations: 24.92 kB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.0045, allocations: 179 kB / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.004521, allocations: 16.61 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.004546, allocations: 12.38 kB / 0.5492 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.004719, allocations: 159.5 kB / 0.5493 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.004732, allocations: 3.984 kB / 0.5493 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.004745, allocations: 8 kB / 0.5493 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.00475, allocations: 0 / 0.5493 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.004823, allocations: 76.64 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.005167, allocations: 365 kB / 0.5498 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.005312, allocations: 108.2 kB / 0.5499 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.005345, allocations: 62.53 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.005354, allocations: 4 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.005475, allocations: 192.3 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.005476, allocations: 0 / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000488/0.005964, allocations: 0.5082 MB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.005993, allocations: 136.5 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.006073, allocations: 213.9 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.006085, allocations: 33.7 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.006115, allocations: 116.4 kB / 0.5511 GB, free: 23.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.006149, allocations: 67.48 kB / 0.5512 GB, free: 23.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.006195, allocations: 55.16 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.006231, allocations: 334.8 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.006278, allocations: 93 kB / 0.5516 GB, free: 22.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.00634, allocations: 185.3 kB / 0.5518 GB, free: 22.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.042e-05/0.006431, allocations: 213.6 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006432, allocations: 7 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001401/0.006572, allocations: 256.5 kB / 0.5522 GB, free: 22.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.006599, allocations: 63.39 kB / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.006605, allocations: 6.656 kB / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.006613, allocations: 4 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.00676, allocations: 63.91 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.006764, allocations: 11.92 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.006839, allocations: 15.94 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.00685, allocations: 7.984 kB / 0.5524 GB, free: 22 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.559e-05/0.006936, allocations: 173.6 kB / 0.5526 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.006955, allocations: 27.97 kB / 0.5526 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.006981, allocations: 21.97 kB / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.006984, allocations: 4 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.006986, allocations: 0 / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.00699, allocations: 3.984 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.007214, allocations: 377 kB / 0.553 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.007216, allocations: 3.938 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.007324, allocations: 39.97 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.007342, allocations: 19.86 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.007343, allocations: 0 / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.007355, allocations: 11.98 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007356, allocations: 3.312 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007358, allocations: 0 / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.007527, allocations: 356.9 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.007549, allocations: 4 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.007622, allocations: 15.98 kB / 0.5534 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.007661, allocations: 23.97 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.007668, allocations: 3.938 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.709e-05/0.007705, allocations: 65.95 kB / 0.5535 GB, free: 20.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007705, allocations: 0 / 0.5535 GB, free: 20.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.007857, allocations: 52 kB / 0.5536 GB, free: 20.73 MB / 410.7 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 5.448e-05/0.007911, allocations: 96.41 kB / 0.5537 GB, free: 20.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.008058, allocations: 308.5 kB / 0.554 GB, free: 20.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.008061, allocations: 448 / 0.554 GB, free: 20.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.008117, allocations: 152.4 kB / 0.5541 GB, free: 20.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.008328, allocations: 89.77 kB / 0.5542 GB, free: 20.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/0.01358, allocations: 0.5744 MB / 0.5547 GB, free: 19.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.765e-05/0.01361, allocations: 76.33 kB / 0.5548 GB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.461e-05/0.01367, allocations: 29.97 kB / 0.5548 GB, free: 19.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.01379, allocations: 111.3 kB / 0.555 GB, free: 19.19 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01379, allocations: 0 / 0.555 GB, free: 19.19 MB / 410.7 MB Notification: Performance of Templates: time 0.004734/0.01853, allocations: 3.79 MB / 0.5587 GB, free: 15.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3118678936734796]