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.000871/0.000871, allocations: 88.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0008655/0.0008655, allocations: 169.8 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9571/0.9571, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.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.7561/0.7561, allocations: 291.1 MB / 0.5382 GB, free: 51.87 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.513e-06/1.513e-06, allocations: 0 / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.206e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference): time 0.002165/0.002187, allocations: 2.291 MB / 0.6996 GB, free: 8.113 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007164/0.002904, allocations: 0.6 MB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.883e-05/0.002993, allocations: 0 / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.003109, allocations: 27.72 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.003271, allocations: 83.27 kB / 0.7003 GB, free: 7.402 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.003455, allocations: 55.81 kB / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.003647, allocations: 266.6 kB / 0.7006 GB, free: 7.086 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.00378, allocations: 36.58 kB / 0.7006 GB, free: 7.055 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.003902, allocations: 139.7 kB / 0.7007 GB, free: 6.918 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.004055, allocations: 83.72 kB / 0.7008 GB, free: 6.836 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.004081, allocations: 19.94 kB / 0.7008 GB, free: 6.816 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.159e-05/0.004102, allocations: 16 kB / 0.7009 GB, free: 6.801 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.004131, allocations: 39.83 kB / 0.7009 GB, free: 6.762 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.004191, allocations: 79.77 kB / 0.701 GB, free: 6.684 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004364, allocations: 195.4 kB / 0.7012 GB, free: 6.492 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004366, allocations: 0 / 0.7012 GB, free: 6.492 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.02e-07/0.004366, allocations: 0 / 0.7012 GB, free: 6.492 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.00437, allocations: 4 kB / 0.7012 GB, free: 6.488 MB / 410.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.0006763/0.005047, allocations: 496.8 kB / 0.7016 GB, free: 5.957 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.005088, allocations: 8.031 kB / 0.7016 GB, free: 5.949 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.00514, allocations: 24.8 kB / 0.7017 GB, free: 5.926 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.005297, allocations: 178.4 kB / 0.7018 GB, free: 5.723 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.005318, allocations: 12.61 kB / 0.7019 GB, free: 5.711 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.005349, allocations: 12.38 kB / 0.7019 GB, free: 5.699 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.005576, allocations: 198.5 kB / 0.7021 GB, free: 5.492 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.00559, allocations: 3.953 kB / 0.7021 GB, free: 5.488 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.005605, allocations: 8 kB / 0.7021 GB, free: 5.48 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.00561, allocations: 4 kB / 0.7021 GB, free: 5.477 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.00579, allocations: 150.2 kB / 0.7022 GB, free: 5.324 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.006269, allocations: 485.4 kB / 0.7027 GB, free: 4.816 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.006578, allocations: 180 kB / 0.7028 GB, free: 4.625 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.006668, allocations: 94.52 kB / 0.7029 GB, free: 4.523 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.006678, allocations: 4 kB / 0.7029 GB, free: 4.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.006871, allocations: 232.4 kB / 0.7032 GB, free: 4.262 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.006872, allocations: 0 / 0.7032 GB, free: 4.262 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008519/0.007724, allocations: 0.7068 MB / 0.7039 GB, free: 3.492 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.007763, allocations: 136.5 kB / 0.704 GB, free: 3.328 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.007887, allocations: 219 kB / 0.7042 GB, free: 3.105 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.0079, allocations: 37.64 kB / 0.7042 GB, free: 3.062 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.00795, allocations: 128.5 kB / 0.7043 GB, free: 2.934 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.007979, allocations: 71.41 kB / 0.7044 GB, free: 2.863 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.008028, allocations: 53.7 kB / 0.7045 GB, free: 2.805 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.655e-05/0.008064, allocations: 338.8 kB / 0.7048 GB, free: 2.465 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.008187, allocations: 145 kB / 0.7049 GB, free: 2.305 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.008316, allocations: 217.3 kB / 0.7051 GB, free: 2.047 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.008522, allocations: 286.2 kB / 0.7054 GB, free: 1.727 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008523, allocations: 0 / 0.7054 GB, free: 1.727 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002944/0.008818, allocations: 391.9 kB / 0.7058 GB, free: 1.312 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.008845, allocations: 63.39 kB / 0.7058 GB, free: 1.238 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.00885, allocations: 8.219 kB / 0.7059 GB, free: 1.23 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.008863, allocations: 4 kB / 0.7059 GB, free: 1.227 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.008972, allocations: 51.84 kB / 0.7059 GB, free: 1.176 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.008978, allocations: 4 kB / 0.7059 GB, free: 1.172 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.009065, allocations: 15.98 kB / 0.7059 GB, free: 1.156 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.009078, allocations: 12 kB / 0.7059 GB, free: 1.145 MB / 410.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.0001181/0.009196, allocations: 172.3 kB / 0.7061 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.009218, allocations: 23.91 kB / 0.7061 GB, free: 0.9375 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.009249, allocations: 25.95 kB / 0.7061 GB, free: 0.9102 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009251, allocations: 4 kB / 0.7062 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.009256, allocations: 7.875 kB / 0.7062 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.00926, allocations: 0 / 0.7062 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.009654, allocations: 0.5367 MB / 0.7067 GB, free: 320 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.009656, allocations: 0 / 0.7067 GB, free: 320 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.009751, allocations: 35.97 kB / 0.7067 GB, free: 284 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.009753, allocations: 4 kB / 0.7067 GB, free: 280 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.009764, allocations: 8 kB / 0.7067 GB, free: 272 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.009766, allocations: 3.984 kB / 0.7067 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009767, allocations: 0 / 0.7067 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.01019, allocations: 0.4976 MB / 0.7072 GB, free: 15.74 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.01021, allocations: 19.89 kB / 0.7072 GB, free: 15.72 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.01024, allocations: 8 kB / 0.7072 GB, free: 15.71 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.01032, allocations: 19.98 kB / 0.7073 GB, free: 15.69 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.01038, allocations: 23.97 kB / 0.7073 GB, free: 15.67 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01039, allocations: 7.984 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.378e-05/0.01048, allocations: 156.4 kB / 0.7074 GB, free: 15.51 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01048, allocations: 0 / 0.7074 GB, free: 15.51 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000189/0.01067, allocations: 60 kB / 0.7075 GB, free: 15.45 MB / 426.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 9.596e-05/0.01077, allocations: 119.1 kB / 0.7076 GB, free: 15.32 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.01112, allocations: 379.8 kB / 0.708 GB, free: 14.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01113, allocations: 0 / 0.708 GB, free: 14.91 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.01127, allocations: 173 kB / 0.7081 GB, free: 14.72 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.01156, allocations: 64.16 kB / 0.7082 GB, free: 14.66 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.01229, allocations: 0.6062 MB / 0.7088 GB, free: 14.02 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.547e-05/0.01237, allocations: 125.6 kB / 0.7089 GB, free: 13.88 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.01242, allocations: 28.48 kB / 0.7089 GB, free: 13.85 MB / 426.8 MB Notification: Performance of SimCode: time 7.11e-07/0.01242, allocations: 0 / 0.7089 GB, free: 13.85 MB / 426.8 MB Notification: Performance of Templates: time 0.003353/0.01578, allocations: 2.94 MB / 0.7118 GB, free: 10.94 MB / 426.8 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.770665372721851]