Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_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.0009689/0.0009689, allocations: 104.4 kB / 19.71 MB, free: 440 kB / 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.001557/0.001557, allocations: 217.8 kB / 23.01 MB, free: 2.949 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.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.6947/0.6947, allocations: 312.3 MB / 0.6108 GB, free: 97.07 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.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference") [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.001498/0.001498, allocations: 75.31 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1128, allocations: 73.99 MB / 0.8422 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference): time 0.003028/0.1158, allocations: 2.698 MB / 0.8448 GB, free: 7.141 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005749/0.1216, allocations: 6.606 MB / 0.8512 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.1218, allocations: 0.625 kB / 0.8512 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.1219, allocations: 43.56 kB / 0.8513 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.1222, allocations: 120.2 kB / 0.8514 GB, free: 384 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1224, allocations: 72.47 kB / 0.8515 GB, free: 312 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.1227, allocations: 374.9 kB / 0.8518 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.1229, allocations: 56.83 kB / 0.8519 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.123, allocations: 144.1 kB / 0.852 GB, free: 15.74 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1232, allocations: 136 kB / 0.8521 GB, free: 15.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1232, allocations: 24.62 kB / 0.8522 GB, free: 15.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.223e-05/0.1233, allocations: 24 kB / 0.8522 GB, free: 15.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.1233, allocations: 60.3 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.1234, allocations: 132 kB / 0.8524 GB, free: 15.38 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.1236, allocations: 294.8 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1236, allocations: 0.625 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1236, allocations: 0 / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1236, allocations: 4.625 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007205/0.1244, allocations: 0.5864 MB / 0.8532 GB, free: 14.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1244, allocations: 16.56 kB / 0.8532 GB, free: 14.43 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.1245, allocations: 32.75 kB / 0.8533 GB, free: 14.4 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1247, allocations: 209.7 kB / 0.8535 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1247, allocations: 17.25 kB / 0.8535 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.1247, allocations: 27.92 kB / 0.8535 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.1251, allocations: 293 kB / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1251, allocations: 7.891 kB / 0.8538 GB, free: 13.81 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1251, allocations: 12.53 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1251, allocations: 4.656 kB / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.1254, allocations: 229.1 kB / 0.854 GB, free: 13.56 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.1261, allocations: 0.6815 MB / 0.8547 GB, free: 12.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1265, allocations: 235.2 kB / 0.8549 GB, free: 12.58 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.1266, allocations: 153 kB / 0.8551 GB, free: 12.42 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.1266, allocations: 0.6875 kB / 0.8551 GB, free: 12.42 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.1269, allocations: 351.3 kB / 0.8554 GB, free: 12.03 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.1269, allocations: 0.6875 kB / 0.8554 GB, free: 12.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.252/0.3789, allocations: 1.083 MB / 0.8565 GB, free: 20.73 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.379, allocations: 218.7 kB / 0.8567 GB, free: 20.48 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3791, allocations: 250 kB / 0.8569 GB, free: 20.38 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3792, allocations: 31.52 kB / 0.8569 GB, free: 20.34 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.3792, allocations: 161.8 kB / 0.8571 GB, free: 20.25 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.3793, allocations: 110.7 kB / 0.8572 GB, free: 20.19 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.3793, allocations: 75.59 kB / 0.8573 GB, free: 20.17 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.3794, allocations: 344.6 kB / 0.8576 GB, free: 19.86 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3796, allocations: 209.4 kB / 0.8578 GB, free: 19.75 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.3798, allocations: 317.1 kB / 0.8581 GB, free: 19.52 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.3802, allocations: 433.9 kB / 0.8585 GB, free: 19.26 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3802, allocations: 0 / 0.8585 GB, free: 19.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004743/0.3807, allocations: 0.553 MB / 0.8591 GB, free: 19.02 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.3807, allocations: 94.03 kB / 0.8592 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3807, allocations: 2.5 kB / 0.8592 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3807, allocations: 5.469 kB / 0.8592 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3809, allocations: 80.92 kB / 0.8592 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3809, allocations: 8.391 kB / 0.8592 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.3811, allocations: 21.56 kB / 0.8593 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.3811, allocations: 16.19 kB / 0.8593 GB, free: 18.93 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001842/0.3813, allocations: 235.2 kB / 0.8595 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.3813, allocations: 31.06 kB / 0.8595 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.3813, allocations: 36.66 kB / 0.8596 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3813, allocations: 3.594 kB / 0.8596 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3813, allocations: 2.719 kB / 0.8596 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3813, allocations: 0 / 0.8596 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006627/0.382, allocations: 0.7578 MB / 0.8603 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.382, allocations: 1.969 kB / 0.8603 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.3822, allocations: 60.17 kB / 0.8604 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3822, allocations: 6.25 kB / 0.8604 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3822, allocations: 9.906 kB / 0.8604 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3822, allocations: 4.172 kB / 0.8604 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3822, allocations: 5.969 kB / 0.8604 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.3827, allocations: 0.724 MB / 0.8611 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.3827, allocations: 25.81 kB / 0.8611 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.3828, allocations: 12.94 kB / 0.8611 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3829, allocations: 17.28 kB / 0.8612 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.383, allocations: 33.05 kB / 0.8612 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.383, allocations: 9.344 kB / 0.8612 GB, free: 17.99 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3831, allocations: 183.6 kB / 0.8614 GB, free: 17.91 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3831, allocations: 0 / 0.8614 GB, free: 17.91 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002177/0.3833, allocations: 86.3 kB / 0.8615 GB, free: 17.91 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.3834, allocations: 124.8 kB / 0.8616 GB, free: 17.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.3838, allocations: 0.5627 MB / 0.8621 GB, free: 17.47 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3838, allocations: 0.5938 kB / 0.8621 GB, free: 17.47 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.384, allocations: 301 kB / 0.8624 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3844, allocations: 90.77 kB / 0.8625 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3855, allocations: 0.9691 MB / 0.8634 GB, free: 16.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3856, allocations: 155.6 kB / 0.8636 GB, free: 16.71 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.3857, allocations: 32.73 kB / 0.8636 GB, free: 16.7 MB / 490.8 MB Notification: Performance of SimCode: time 8.52e-07/0.3857, allocations: 0 / 0.8636 GB, free: 16.7 MB / 490.8 MB Notification: Performance of Templates: time 0.00545/0.3911, allocations: 4.019 MB / 0.8676 GB, free: 16.34 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.196324780583382]