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.0009466/0.0009466, allocations: 72.12 kB / 9.871 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002325, allocations: 443.9 kB / 10.3 MB, free: 396 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.0009921/0.0009921, allocations: 157.2 kB / 11.19 MB, free: 2.988 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002338, allocations: 467.5 kB / 11.64 MB, free: 2.527 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.067/1.067, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09856/1.165, 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.8126/0.8126, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03822/0.8508, allocations: 21.05 MB / 0.5431 GB, free: 31.96 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.472e-06/1.472e-06, allocations: 0 / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.027e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference): time 0.002769/0.002789, allocations: 2.481 MB / 0.5469 GB, free: 28.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.003702, allocations: 0.6232 MB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.784e-05/0.00379, allocations: 0 / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.378e-05/0.003864, allocations: 27.66 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.004021, allocations: 79.34 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.004165, allocations: 59.84 kB / 0.5476 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.00441, allocations: 270.6 kB / 0.5479 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.004521, allocations: 38.47 kB / 0.5479 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.004728, allocations: 172.3 kB / 0.5481 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.004902, allocations: 87.72 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.004933, allocations: 16 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.019e-05/0.004963, allocations: 16 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.004995, allocations: 27.88 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.005065, allocations: 59.88 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.005249, allocations: 147.5 kB / 0.5484 GB, free: 26.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.005265, allocations: 0 / 0.5484 GB, free: 26.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005266, allocations: 4 kB / 0.5484 GB, free: 26.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.005279, allocations: 0 / 0.5484 GB, free: 26.51 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.0006127/0.005892, allocations: 0.4937 MB / 0.5489 GB, free: 25.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.005922, allocations: 15.89 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.005973, allocations: 20.92 kB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.006142, allocations: 179.1 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.006164, allocations: 8.609 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.006191, allocations: 20.38 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.006388, allocations: 155.5 kB / 0.5493 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.0064, allocations: 4 kB / 0.5493 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.006412, allocations: 4 kB / 0.5493 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.006418, allocations: 4 kB / 0.5493 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.425e-05/0.006512, allocations: 80.62 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.006947, allocations: 364.9 kB / 0.5497 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.007143, allocations: 112.2 kB / 0.5498 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.007188, allocations: 58.5 kB / 0.5499 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.0072, allocations: 3.984 kB / 0.5499 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.007357, allocations: 195.8 kB / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.007359, allocations: 0 / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006163/0.007975, allocations: 0.508 MB / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.008009, allocations: 132.5 kB / 0.5507 GB, free: 23.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.008115, allocations: 214.1 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.008129, allocations: 29.7 kB / 0.5509 GB, free: 23.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.008167, allocations: 116.4 kB / 0.551 GB, free: 23.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.008209, allocations: 71.41 kB / 0.5511 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.008275, allocations: 59.16 kB / 0.5512 GB, free: 23.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.008321, allocations: 338.8 kB / 0.5515 GB, free: 23.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.008386, allocations: 96.94 kB / 0.5516 GB, free: 22.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.008466, allocations: 173.4 kB / 0.5518 GB, free: 22.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.008595, allocations: 217.6 kB / 0.552 GB, free: 22.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.008596, allocations: 0 / 0.552 GB, free: 22.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002011/0.008798, allocations: 260.2 kB / 0.5522 GB, free: 22.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.008834, allocations: 63.61 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.00884, allocations: 4 kB / 0.5523 GB, free: 22.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.008851, allocations: 7.984 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.009053, allocations: 67.89 kB / 0.5523 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.009058, allocations: 4 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.009168, allocations: 15.94 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.009182, allocations: 11.98 kB / 0.5524 GB, free: 22.03 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 0.0001126/0.009294, allocations: 165.7 kB / 0.5525 GB, free: 21.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.009323, allocations: 23.97 kB / 0.5526 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.009358, allocations: 25.97 kB / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.00936, allocations: 0 / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.009363, allocations: 3.984 kB / 0.5526 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.009367, allocations: 0 / 0.5526 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.00967, allocations: 378.2 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009672, allocations: 3.938 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.009828, allocations: 39.97 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.009853, allocations: 19.84 kB / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.009857, allocations: 4 kB / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.009871, allocations: 14.94 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009873, allocations: 0 / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.009875, allocations: 0 / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.01011, allocations: 358.4 kB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.01014, allocations: 8 kB / 0.5534 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01024, allocations: 7.984 kB / 0.5534 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.01029, allocations: 19.97 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.01031, allocations: 7.938 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.33e-05/0.01036, allocations: 69.94 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01036, allocations: 0 / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000259/0.01062, allocations: 60 kB / 0.5535 GB, free: 20.76 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 9.149e-05/0.01071, allocations: 100.3 kB / 0.5536 GB, free: 20.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.01091, allocations: 304.5 kB / 0.5539 GB, free: 20.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.01091, allocations: 4 kB / 0.5539 GB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.01099, allocations: 138.3 kB / 0.5541 GB, free: 20.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.01131, allocations: 88.91 kB / 0.5541 GB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.01751, allocations: 0.5879 MB / 0.5547 GB, free: 19.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.615e-05/0.01757, allocations: 125.6 kB / 0.5548 GB, free: 19.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.01774, allocations: 115.3 kB / 0.5549 GB, free: 19.19 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01774, allocations: 4 kB / 0.5549 GB, free: 19.19 MB / 410.7 MB Notification: Performance of Templates: time 0.002816/0.02055, allocations: 2.932 MB / 0.5578 GB, free: 16.29 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.195764466188848]