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.0006835/0.0006835, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008998/0.001583, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007037/0.0007037, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009232/0.001627, allocations: 463.6 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.097/1.097, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08408/1.181, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.8425/0.8425, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03247/0.875, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.993e-06/1.993e-06, allocations: 0 / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.772e-05, allocations: 10.25 kB / 0.5444 GB, free: 30.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone): time 0.003192/0.00321, allocations: 2.505 MB / 0.5469 GB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.004288, allocations: 0.6193 MB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.004406, allocations: 4 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.136e-05/0.004487, allocations: 23.72 kB / 0.5475 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.004695, allocations: 91.25 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.004877, allocations: 51.88 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.005147, allocations: 266.6 kB / 0.5479 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.005272, allocations: 34.48 kB / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.005506, allocations: 180.2 kB / 0.5481 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.005692, allocations: 91.77 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.005727, allocations: 16 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.782e-05/0.005764, allocations: 16 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.005798, allocations: 27.88 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.00588, allocations: 59.88 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.006077, allocations: 143.5 kB / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/0.006092, allocations: 0 / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006093, allocations: 0 / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.006107, allocations: 0 / 0.5485 GB, free: 26.48 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.0007162/0.006823, allocations: 0.4937 MB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.006856, allocations: 15.89 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.006912, allocations: 20.92 kB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.007097, allocations: 179.1 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.007122, allocations: 8.609 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.007155, allocations: 20.36 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.007361, allocations: 159.4 kB / 0.5493 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.007376, allocations: 7.938 kB / 0.5493 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.007391, allocations: 4 kB / 0.5493 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.007398, allocations: 8 kB / 0.5493 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.007503, allocations: 72.7 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.007997, allocations: 368.9 kB / 0.5498 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.00821, allocations: 116 kB / 0.5499 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.008265, allocations: 61.67 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.008275, allocations: 0 / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.008448, allocations: 188.4 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.008449, allocations: 4 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006809/0.00913, allocations: 0.5045 MB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.00917, allocations: 136.5 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.009294, allocations: 202.1 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.009313, allocations: 33.7 kB / 0.551 GB, free: 23.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.009355, allocations: 116.4 kB / 0.5511 GB, free: 23.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.009402, allocations: 75.39 kB / 0.5511 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.00947, allocations: 59.19 kB / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.009517, allocations: 334.8 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.009589, allocations: 96.94 kB / 0.5516 GB, free: 22.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.009684, allocations: 177.3 kB / 0.5518 GB, free: 22.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.009829, allocations: 207.7 kB / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009831, allocations: 4.031 kB / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002206/0.01005, allocations: 270 kB / 0.5522 GB, free: 22.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.01009, allocations: 63.34 kB / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.0101, allocations: 0 / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01011, allocations: 4 kB / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.01033, allocations: 67.89 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01034, allocations: 8.219 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.01046, allocations: 22.67 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.01048, allocations: 8 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 0.0001215/0.0106, allocations: 169.6 kB / 0.5526 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.01063, allocations: 19.98 kB / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.01067, allocations: 29.95 kB / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01068, allocations: 0 / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01068, allocations: 0 / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01068, allocations: 4 kB / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.01102, allocations: 382.2 kB / 0.553 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01102, allocations: 3.938 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.0112, allocations: 39.97 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.01123, allocations: 15.86 kB / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01123, allocations: 0 / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.01125, allocations: 8 kB / 0.553 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01125, allocations: 0 / 0.553 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01125, allocations: 0 / 0.553 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.01151, allocations: 359.8 kB / 0.5534 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.01155, allocations: 4 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.01168, allocations: 15.61 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.01174, allocations: 19.97 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.01175, allocations: 11.92 kB / 0.5534 GB, free: 20.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.276e-05/0.01181, allocations: 65.94 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01181, allocations: 0 / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.0121, allocations: 56 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 8.277e-05/0.01218, allocations: 92.36 kB / 0.5536 GB, free: 20.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.01242, allocations: 308.5 kB / 0.5539 GB, free: 20.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.01242, allocations: 0 / 0.5539 GB, free: 20.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.01252, allocations: 145.9 kB / 0.5541 GB, free: 20.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.01287, allocations: 90.02 kB / 0.5542 GB, free: 20.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009066/0.02194, allocations: 0.5867 MB / 0.5547 GB, free: 19.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.146e-05/0.02202, allocations: 125.6 kB / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.02223, allocations: 115.3 kB / 0.555 GB, free: 19.16 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02224, allocations: 0 / 0.555 GB, free: 19.16 MB / 410.7 MB Notification: Performance of Templates: time 0.003964/0.0262, allocations: 2.923 MB / 0.5578 GB, free: 16.28 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3824356803670526]