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.006414/0.006414, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 13.93 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.007642/0.007642, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.749/1.749, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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 1.49/1.49, allocations: 316.7 MB / 0.6144 GB, free: 93.34 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005044/0.005044, allocations: 81.75 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1796, allocations: 73.99 MB / 0.8472 GB, free: 4.938 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone): time 0.004457/0.184, allocations: 2.303 MB / 0.8495 GB, free: 2.637 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1853, allocations: 0.5914 MB / 0.8501 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1854, allocations: 3.938 kB / 0.8501 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.1856, allocations: 28.28 kB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1858, allocations: 80.58 kB / 0.8502 GB, free: 1.941 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.186, allocations: 56.48 kB / 0.8502 GB, free: 1.887 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.1864, allocations: 250.7 kB / 0.8505 GB, free: 1.641 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.1866, allocations: 41.06 kB / 0.8505 GB, free: 1.602 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1867, allocations: 96.33 kB / 0.8506 GB, free: 1.508 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.1871, allocations: 99.47 kB / 0.8507 GB, free: 1.41 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.1871, allocations: 16.5 kB / 0.8507 GB, free: 1.395 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.1872, allocations: 20.62 kB / 0.8507 GB, free: 1.375 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.1872, allocations: 31.86 kB / 0.8508 GB, free: 1.344 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1873, allocations: 92.17 kB / 0.8509 GB, free: 1.254 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.1877, allocations: 203.7 kB / 0.851 GB, free: 1.055 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1877, allocations: 0 / 0.851 GB, free: 1.055 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1877, allocations: 0.5625 kB / 0.851 GB, free: 1.055 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1877, allocations: 0.625 kB / 0.851 GB, free: 1.055 MB / 474.8 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.001109/0.1888, allocations: 0.4941 MB / 0.8515 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.1888, allocations: 8.656 kB / 0.8515 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.822e-05/0.1889, allocations: 25.42 kB / 0.8516 GB, free: 496 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.1893, allocations: 187.1 kB / 0.8517 GB, free: 280 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.1893, allocations: 9.703 kB / 0.8517 GB, free: 272 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.1894, allocations: 23.89 kB / 0.8518 GB, free: 248 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.1898, allocations: 186.6 kB / 0.852 GB, free: 48 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.1898, allocations: 3.984 kB / 0.852 GB, free: 44 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1899, allocations: 8 kB / 0.852 GB, free: 36 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1899, allocations: 6.031 kB / 0.852 GB, free: 32 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.1903, allocations: 142.3 kB / 0.8521 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.1913, allocations: 482.6 kB / 0.8526 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.1919, allocations: 181.9 kB / 0.8527 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1921, allocations: 90.53 kB / 0.8528 GB, free: 15.09 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1921, allocations: 4 kB / 0.8528 GB, free: 15.09 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004728/0.1926, allocations: 235.5 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.484e-06/0.1926, allocations: 0 / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.002138/0.1947, allocations: 0.705 MB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.1949, allocations: 133.3 kB / 0.8539 GB, free: 13.91 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1951, allocations: 219 kB / 0.8541 GB, free: 13.69 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.1952, allocations: 34.36 kB / 0.8541 GB, free: 13.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1953, allocations: 132.5 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.1954, allocations: 71.97 kB / 0.8543 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1955, allocations: 61.66 kB / 0.8544 GB, free: 13.38 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1957, allocations: 335.3 kB / 0.8547 GB, free: 13.04 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.196, allocations: 145.5 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.1963, allocations: 221.9 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.1968, allocations: 282.1 kB / 0.8553 GB, free: 12.31 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1968, allocations: 0 / 0.8553 GB, free: 12.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.363/0.5598, allocations: 386.8 kB / 0.8557 GB, free: 28.22 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.5598, allocations: 66.61 kB / 0.8557 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.5598, allocations: 2.812 kB / 0.8557 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.5599, allocations: 2.844 kB / 0.8557 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.5601, allocations: 51.2 kB / 0.8558 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5601, allocations: 5.016 kB / 0.8558 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.5603, allocations: 21.05 kB / 0.8558 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.5603, allocations: 9.969 kB / 0.8558 GB, free: 28.16 MB / 490.8 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.0001991/0.5605, allocations: 177.3 kB / 0.856 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.5606, allocations: 27.56 kB / 0.856 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.5606, allocations: 27.3 kB / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5606, allocations: 1.438 kB / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5606, allocations: 0.7812 kB / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5606, allocations: 0 / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007895/0.5614, allocations: 0.5374 MB / 0.8566 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5614, allocations: 1.266 kB / 0.8566 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.5616, allocations: 32.14 kB / 0.8566 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5616, allocations: 3.375 kB / 0.8566 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.5616, allocations: 7.156 kB / 0.8566 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5616, allocations: 0 / 0.8566 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5616, allocations: 5.453 kB / 0.8566 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.5624, allocations: 0.4898 MB / 0.8571 GB, free: 27.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.5624, allocations: 29.17 kB / 0.8571 GB, free: 27.48 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.5625, allocations: 8.062 kB / 0.8571 GB, free: 27.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.5626, allocations: 12.42 kB / 0.8571 GB, free: 27.48 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.5628, allocations: 22.09 kB / 0.8572 GB, free: 27.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.5628, allocations: 10.8 kB / 0.8572 GB, free: 27.48 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000144/0.5629, allocations: 155.7 kB / 0.8573 GB, free: 27.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5629, allocations: 0.5312 kB / 0.8573 GB, free: 27.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000322/0.5632, allocations: 53.56 kB / 0.8574 GB, free: 27.4 MB / 490.8 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.0001437/0.5634, allocations: 116 kB / 0.8575 GB, free: 27.32 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005834/0.564, allocations: 382.9 kB / 0.8579 GB, free: 27.09 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.564, allocations: 0.625 kB / 0.8579 GB, free: 27.09 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.5642, allocations: 174.6 kB / 0.858 GB, free: 27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.5647, allocations: 64.47 kB / 0.8581 GB, free: 27 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.566, allocations: 0.6737 MB / 0.8587 GB, free: 26.73 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.5661, allocations: 130.7 kB / 0.8589 GB, free: 26.65 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.5662, allocations: 24.34 kB / 0.8589 GB, free: 26.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.5663, allocations: 19.94 kB / 0.8589 GB, free: 26.64 MB / 490.8 MB Notification: Performance of SimCode: time 6.81e-07/0.5663, allocations: 0.5938 kB / 0.8589 GB, free: 26.64 MB / 490.8 MB Notification: Performance of Templates: time 0.008085/0.5744, allocations: 3.65 MB / 0.8625 GB, free: 26.34 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.751296828966588]