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.0008056/0.0008056, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001905, allocations: 440 kB / 10.41 MB, free: 280 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.0006951/0.0006951, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009784/0.001673, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9915/0.9915, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08909/1.081, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7673/0.7673, allocations: 291.2 MB / 0.5228 GB, free: 52.52 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03797/0.8052, allocations: 21.05 MB / 0.5433 GB, free: 31.54 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.513e-06/1.513e-06, allocations: 0 / 0.5447 GB, free: 30.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.225e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone): time 0.002055/0.002068, allocations: 2.499 MB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.00278, allocations: 0.631 MB / 0.5478 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.002856, allocations: 0 / 0.5478 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.696e-05/0.002913, allocations: 27.7 kB / 0.5478 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.003033, allocations: 87.27 kB / 0.5479 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.00315, allocations: 55.81 kB / 0.548 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.003339, allocations: 266.6 kB / 0.5482 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.00343, allocations: 42.52 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.003589, allocations: 180.2 kB / 0.5484 GB, free: 26.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.003733, allocations: 83.78 kB / 0.5485 GB, free: 26.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.003757, allocations: 16 kB / 0.5485 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.327e-05/0.00378, allocations: 16 kB / 0.5485 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.003805, allocations: 27.88 kB / 0.5486 GB, free: 26.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.003855, allocations: 59.88 kB / 0.5486 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.003995, allocations: 143.5 kB / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.004004, allocations: 3.938 kB / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004005, allocations: 0 / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.455e-06/0.004012, allocations: 0 / 0.5488 GB, free: 25.97 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.0004706/0.004483, allocations: 0.4937 MB / 0.5492 GB, free: 25.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.00451, allocations: 15.89 kB / 0.5493 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.00455, allocations: 24.91 kB / 0.5493 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.004691, allocations: 183 kB / 0.5495 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.004705, allocations: 12.61 kB / 0.5495 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.004729, allocations: 16.38 kB / 0.5495 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.004871, allocations: 151.5 kB / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.004881, allocations: 7.984 kB / 0.5496 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.00489, allocations: 0 / 0.5496 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004895, allocations: 4 kB / 0.5496 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.976e-05/0.004965, allocations: 82.28 kB / 0.5497 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.005309, allocations: 365 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.005456, allocations: 116.1 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.00549, allocations: 57.86 kB / 0.5502 GB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.005498, allocations: 3.984 kB / 0.5502 GB, free: 24.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.005622, allocations: 199.5 kB / 0.5504 GB, free: 24.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.223e-06/0.005623, allocations: 0 / 0.5504 GB, free: 24.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004899/0.006113, allocations: 0.5141 MB / 0.5509 GB, free: 23.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.006143, allocations: 162.2 kB / 0.5511 GB, free: 23.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.006227, allocations: 210 kB / 0.5513 GB, free: 23.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.006239, allocations: 29.7 kB / 0.5513 GB, free: 23.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.006272, allocations: 132.4 kB / 0.5514 GB, free: 22.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.006301, allocations: 63.47 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.006346, allocations: 55.17 kB / 0.5516 GB, free: 22.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.245e-05/0.006379, allocations: 334.8 kB / 0.5519 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.006425, allocations: 101 kB / 0.552 GB, free: 22.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.006484, allocations: 173.3 kB / 0.5521 GB, free: 22.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.006578, allocations: 215.8 kB / 0.5523 GB, free: 21.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00658, allocations: 4 kB / 0.5523 GB, free: 21.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001404/0.00672, allocations: 257.3 kB / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.006749, allocations: 71.39 kB / 0.5527 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006754, allocations: 6.656 kB / 0.5527 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.006764, allocations: 0 / 0.5527 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.006912, allocations: 67.89 kB / 0.5527 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.006915, allocations: 4 kB / 0.5527 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.006992, allocations: 19.92 kB / 0.5528 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.007002, allocations: 8 kB / 0.5528 GB, free: 21.44 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.008e-05/0.007092, allocations: 173.6 kB / 0.5529 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.007111, allocations: 23.92 kB / 0.5529 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.007144, allocations: 25.95 kB / 0.553 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007146, allocations: 4 kB / 0.553 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.007147, allocations: 0 / 0.553 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.007151, allocations: 0 / 0.553 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.00738, allocations: 369.3 kB / 0.5533 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.007382, allocations: 3.938 kB / 0.5533 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.007496, allocations: 50.97 kB / 0.5534 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.007516, allocations: 23.84 kB / 0.5534 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.007517, allocations: 0 / 0.5534 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.007528, allocations: 4 kB / 0.5534 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.007529, allocations: 0 / 0.5534 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.007531, allocations: 0 / 0.5534 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.007703, allocations: 353 kB / 0.5537 GB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.007725, allocations: 4 kB / 0.5537 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.007794, allocations: 11.98 kB / 0.5538 GB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.007834, allocations: 23.91 kB / 0.5538 GB, free: 20.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.007843, allocations: 15.92 kB / 0.5538 GB, free: 20.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.796e-05/0.007881, allocations: 61.95 kB / 0.5539 GB, free: 20.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007881, allocations: 0 / 0.5539 GB, free: 20.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001575/0.008038, allocations: 56 kB / 0.5539 GB, free: 20.18 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 6.339e-05/0.008102, allocations: 92.41 kB / 0.554 GB, free: 20.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.00826, allocations: 305.2 kB / 0.5543 GB, free: 19.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.008266, allocations: 7.984 kB / 0.5543 GB, free: 19.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.008333, allocations: 153.9 kB / 0.5544 GB, free: 19.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.008609, allocations: 0.5109 MB / 0.5549 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/0.01382, allocations: 0.5614 MB / 0.5555 GB, free: 18.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.01386, allocations: 84.31 kB / 0.5556 GB, free: 18.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.01393, allocations: 21.95 kB / 0.5556 GB, free: 18.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.01407, allocations: 119.3 kB / 0.5557 GB, free: 18.12 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01407, allocations: 0 / 0.5557 GB, free: 18.12 MB / 410.7 MB Notification: Performance of Templates: time 0.2315/0.2456, allocations: 3.766 MB / 0.5594 GB, free: 85.02 MB / 410.8 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.694029627367854]