Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone.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.001016/0.001016, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002528, 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.001098/0.001098, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.00239, 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 0.9658/0.9658, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08541/1.051, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7684/0.7684, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04804/0.8164, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.851e-05/2.047e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone): time 0.002072/0.002092, allocations: 2.491 MB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00073/0.002822, allocations: 0.6154 MB / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.002904, allocations: 4 kB / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.154e-05/0.002976, allocations: 31.72 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.003112, allocations: 87.27 kB / 0.5476 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.003243, allocations: 55.8 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.003432, allocations: 262.6 kB / 0.5479 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.003532, allocations: 34.55 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.003718, allocations: 176.2 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.003873, allocations: 83.72 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.003899, allocations: 16 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.003923, allocations: 24 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.00395, allocations: 27.88 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.004005, allocations: 67.8 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.004167, allocations: 135.5 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.00418, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004181, allocations: 4 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.004191, allocations: 0 / 0.5485 GB, free: 26.43 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.0005601/0.004751, allocations: 0.4898 MB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.004783, allocations: 19.88 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.004828, allocations: 24.92 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.004992, allocations: 179 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.005012, allocations: 12.61 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.005039, allocations: 12.38 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.005222, allocations: 163.4 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.005235, allocations: 0 / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.005249, allocations: 8 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.005254, allocations: 4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.01e-05/0.005344, allocations: 76.64 kB / 0.5494 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.005784, allocations: 365 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.005961, allocations: 116 kB / 0.5499 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.005996, allocations: 58.53 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.006006, allocations: 7.938 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.00614, allocations: 188.4 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.724e-06/0.006142, allocations: 0 / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005334/0.006675, allocations: 0.5159 MB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.006705, allocations: 132.5 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.006797, allocations: 210 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.006809, allocations: 33.7 kB / 0.551 GB, free: 23.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.006841, allocations: 116.4 kB / 0.5511 GB, free: 23.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.00687, allocations: 67.48 kB / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.006918, allocations: 55.16 kB / 0.5512 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.1e-05/0.006949, allocations: 338.8 kB / 0.5516 GB, free: 23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.006997, allocations: 100.9 kB / 0.5517 GB, free: 22.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.007059, allocations: 173.3 kB / 0.5518 GB, free: 22.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.007155, allocations: 211.7 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.007157, allocations: 0 / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001543/0.007311, allocations: 267 kB / 0.5523 GB, free: 22.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.007344, allocations: 63.39 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.00735, allocations: 6.656 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.00736, allocations: 4 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.007521, allocations: 63.91 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.007525, allocations: 7.984 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.007605, allocations: 20.16 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.007617, allocations: 12 kB / 0.5524 GB, free: 21.95 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 9.591e-05/0.007712, allocations: 173.6 kB / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.007734, allocations: 19.97 kB / 0.5526 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.007761, allocations: 21.97 kB / 0.5526 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.007763, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007765, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007768, allocations: 3.984 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.008009, allocations: 378.2 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.008011, allocations: 3.938 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.00813, allocations: 39.97 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.00815, allocations: 23.84 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.008153, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.008163, allocations: 11.92 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.008164, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008165, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.008336, allocations: 355.8 kB / 0.5534 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.008359, allocations: 8 kB / 0.5534 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.008433, allocations: 15.3 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.008473, allocations: 19.97 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.00848, allocations: 7.938 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.008519, allocations: 61.95 kB / 0.5535 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008519, allocations: 0 / 0.5535 GB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.008673, allocations: 56 kB / 0.5536 GB, free: 20.68 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 7.107e-05/0.008744, allocations: 92.41 kB / 0.5537 GB, free: 20.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.008893, allocations: 315.5 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.008897, allocations: 4 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.691e-05/0.008953, allocations: 145.9 kB / 0.5541 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.009176, allocations: 78.91 kB / 0.5542 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.01438, allocations: 0.5736 MB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.0144, allocations: 80.33 kB / 0.5548 GB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.249e-05/0.01448, allocations: 29.97 kB / 0.5549 GB, free: 19.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.01459, allocations: 111.3 kB / 0.555 GB, free: 19.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0146, allocations: 0 / 0.555 GB, free: 19.15 MB / 410.7 MB Notification: Performance of Templates: time 0.004544/0.01914, allocations: 3.783 MB / 0.5587 GB, free: 15.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3013420617207885]