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.0006556/0.0006556, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009766/0.001632, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008341/0.0008341, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008925/0.001727, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9546/0.9546, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08611/1.041, allocations: 53.65 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.7307/0.7307, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03439/0.7651, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.363e-06/1.363e-06, allocations: 0 / 0.5445 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.381e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference): time 0.003641/0.003665, allocations: 2.487 MB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004842, allocations: 0.6271 MB / 0.5475 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.004966, allocations: 0 / 0.5475 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.764e-05/0.005053, allocations: 23.72 kB / 0.5475 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.005264, allocations: 91.25 kB / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.005477, allocations: 55.81 kB / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.005807, allocations: 270.5 kB / 0.5479 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.005942, allocations: 38.53 kB / 0.548 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.006228, allocations: 176.2 kB / 0.5481 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.006456, allocations: 83.73 kB / 0.5482 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.006499, allocations: 16 kB / 0.5482 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.38e-05/0.006533, allocations: 16 kB / 0.5482 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.663e-05/0.006569, allocations: 27.88 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.49e-05/0.006654, allocations: 63.88 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.006878, allocations: 143.5 kB / 0.5485 GB, free: 26.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.032e-05/0.006898, allocations: 0 / 0.5485 GB, free: 26.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.0069, allocations: 0 / 0.5485 GB, free: 26.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.006921, allocations: 4 kB / 0.5485 GB, free: 26.3 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.0007904/0.007711, allocations: 0.4937 MB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.007749, allocations: 15.89 kB / 0.549 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.007817, allocations: 28.36 kB / 0.549 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.008027, allocations: 179 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.008051, allocations: 8.609 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.008082, allocations: 16.38 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.008314, allocations: 163.5 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.008328, allocations: 0 / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.00834, allocations: 4 kB / 0.5494 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.008348, allocations: 4 kB / 0.5494 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.008466, allocations: 76.64 kB / 0.5494 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.009011, allocations: 368.9 kB / 0.5498 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.009254, allocations: 108.2 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.009311, allocations: 62.55 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.009324, allocations: 7.984 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.009517, allocations: 188.3 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.484e-06/0.00952, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008924/0.01041, allocations: 0.5082 MB / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.01046, allocations: 136.5 kB / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.01058, allocations: 210 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.01059, allocations: 33.7 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.01063, allocations: 116.4 kB / 0.5511 GB, free: 23.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.01067, allocations: 71.45 kB / 0.5512 GB, free: 23.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.01072, allocations: 55.17 kB / 0.5512 GB, free: 23.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.699e-05/0.01076, allocations: 330.8 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.01082, allocations: 101 kB / 0.5516 GB, free: 22.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.01088, allocations: 177.3 kB / 0.5518 GB, free: 22.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.01099, allocations: 217.6 kB / 0.552 GB, free: 22.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01099, allocations: 0 / 0.552 GB, free: 22.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001711/0.01116, allocations: 256.3 kB / 0.5523 GB, free: 22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.0112, allocations: 63.39 kB / 0.5523 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01121, allocations: 2.875 kB / 0.5523 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.01122, allocations: 8 kB / 0.5523 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.01143, allocations: 67.89 kB / 0.5524 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01143, allocations: 7.938 kB / 0.5524 GB, free: 21.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.01152, allocations: 23.86 kB / 0.5524 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01153, allocations: 8 kB / 0.5524 GB, free: 21.82 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.0001157/0.01165, allocations: 175.5 kB / 0.5526 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.01167, allocations: 27.98 kB / 0.5526 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.01171, allocations: 25.95 kB / 0.5526 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01171, allocations: 0 / 0.5526 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01171, allocations: 0 / 0.5526 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.01171, allocations: 0 / 0.5526 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.01202, allocations: 374.2 kB / 0.553 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.01202, allocations: 3.938 kB / 0.553 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.01216, allocations: 39.97 kB / 0.553 GB, free: 21.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.01219, allocations: 19.84 kB / 0.5531 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01219, allocations: 4 kB / 0.5531 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.0122, allocations: 8 kB / 0.5531 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.0122, allocations: 0 / 0.5531 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.0122, allocations: 4 kB / 0.5531 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.0124, allocations: 351.8 kB / 0.5534 GB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01243, allocations: 8 kB / 0.5534 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.01251, allocations: 11.98 kB / 0.5534 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.01256, allocations: 15.97 kB / 0.5534 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.01257, allocations: 11.92 kB / 0.5535 GB, free: 20.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.138e-05/0.01261, allocations: 65.95 kB / 0.5535 GB, free: 20.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01261, allocations: 4 kB / 0.5535 GB, free: 20.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.01277, allocations: 56 kB / 0.5536 GB, free: 20.55 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 0.0001093/0.01288, allocations: 92.41 kB / 0.5537 GB, free: 20.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.01307, allocations: 308.5 kB / 0.554 GB, free: 20.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.01307, allocations: 4 kB / 0.554 GB, free: 20.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.01314, allocations: 141.9 kB / 0.5541 GB, free: 19.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.01339, allocations: 91.95 kB / 0.5542 GB, free: 19.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/0.01886, allocations: 0.5783 MB / 0.5548 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.01889, allocations: 80.31 kB / 0.5548 GB, free: 19.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.522e-05/0.01896, allocations: 21.94 kB / 0.5549 GB, free: 19.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.0191, allocations: 119.3 kB / 0.555 GB, free: 19.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.0191, allocations: 4 kB / 0.555 GB, free: 19.01 MB / 410.7 MB Notification: Performance of Templates: time 0.00493/0.02403, allocations: 3.784 MB / 0.5587 GB, free: 15.33 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.2468985617160797]