Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.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.001052/0.001052, allocations: 100.4 kB / 19.71 MB, free: 444 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.001148/0.001148, allocations: 211 kB / 23 MB, free: 2.977 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.034/1.034, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.7458/0.7458, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final") [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.00175/0.00175, allocations: 82.83 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1259, allocations: 73.99 MB / 0.8421 GB, free: 10.32 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final): time 0.002951/0.1289, allocations: 3.014 MB / 0.8451 GB, free: 7.305 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005221/0.1341, allocations: 6.641 MB / 0.8516 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1342, allocations: 4.719 kB / 0.8516 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.1344, allocations: 39.56 kB / 0.8516 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.1346, allocations: 128.3 kB / 0.8517 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1349, allocations: 84.5 kB / 0.8518 GB, free: 424 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.1352, allocations: 414.7 kB / 0.8522 GB, free: 8 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.1353, allocations: 58.12 kB / 0.8523 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1355, allocations: 147.5 kB / 0.8524 GB, free: 15.8 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1357, allocations: 147.9 kB / 0.8525 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1357, allocations: 32.59 kB / 0.8526 GB, free: 15.63 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.774e-05/0.1357, allocations: 32.5 kB / 0.8526 GB, free: 15.6 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.1358, allocations: 67.75 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.1359, allocations: 144.1 kB / 0.8528 GB, free: 15.39 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.1362, allocations: 355.2 kB / 0.8531 GB, free: 15.04 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1362, allocations: 0 / 0.8531 GB, free: 15.04 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1362, allocations: 4.438 kB / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1362, allocations: 0.625 kB / 0.8532 GB, free: 15.04 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007571/0.1369, allocations: 0.6167 MB / 0.8538 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.137, allocations: 8.625 kB / 0.8538 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.137, allocations: 37.39 kB / 0.8538 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1373, allocations: 221.1 kB / 0.854 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1373, allocations: 17.34 kB / 0.854 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.1373, allocations: 31.89 kB / 0.8541 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.1377, allocations: 297.8 kB / 0.8543 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1377, allocations: 4.75 kB / 0.8543 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1377, allocations: 11.98 kB / 0.8544 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1377, allocations: 8.609 kB / 0.8544 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.138, allocations: 249.6 kB / 0.8546 GB, free: 13.45 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.1387, allocations: 0.6477 MB / 0.8552 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.1394, allocations: 272.3 kB / 0.8555 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.1395, allocations: 160.9 kB / 0.8556 GB, free: 12.31 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1395, allocations: 0.5938 kB / 0.8556 GB, free: 12.31 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2876/0.4271, allocations: 373 kB / 0.856 GB, free: 21.32 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.356e-06/0.4271, allocations: 0 / 0.856 GB, free: 21.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001424/0.4285, allocations: 1.129 MB / 0.8571 GB, free: 20.82 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.4286, allocations: 228.9 kB / 0.8573 GB, free: 20.57 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.4288, allocations: 252.1 kB / 0.8576 GB, free: 20.47 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4288, allocations: 39.91 kB / 0.8576 GB, free: 20.44 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.4289, allocations: 153.9 kB / 0.8578 GB, free: 20.34 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.4289, allocations: 118.8 kB / 0.8579 GB, free: 20.28 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.429, allocations: 74.89 kB / 0.8579 GB, free: 20.27 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.429, allocations: 344.9 kB / 0.8583 GB, free: 19.95 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.4292, allocations: 225.2 kB / 0.8585 GB, free: 19.84 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.4295, allocations: 326.2 kB / 0.8588 GB, free: 19.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.4298, allocations: 459.8 kB / 0.8592 GB, free: 19.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4298, allocations: 2.812 kB / 0.8592 GB, free: 19.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000469/0.4303, allocations: 0.5703 MB / 0.8598 GB, free: 19.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.4303, allocations: 92.88 kB / 0.8599 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.4303, allocations: 2.125 kB / 0.8599 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4303, allocations: 7 kB / 0.8599 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.4305, allocations: 79.45 kB / 0.86 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4305, allocations: 5.844 kB / 0.86 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.4306, allocations: 25.61 kB / 0.86 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.4307, allocations: 16.78 kB / 0.86 GB, free: 19.02 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0001918/0.4309, allocations: 242.8 kB / 0.8602 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.4309, allocations: 32.53 kB / 0.8603 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.4309, allocations: 31.44 kB / 0.8603 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4309, allocations: 3.094 kB / 0.8603 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4309, allocations: 6.125 kB / 0.8603 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4309, allocations: 1.219 kB / 0.8603 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007845/0.4317, allocations: 0.8155 MB / 0.8611 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4317, allocations: 2.469 kB / 0.8611 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.4319, allocations: 53.73 kB / 0.8612 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4319, allocations: 9.422 kB / 0.8612 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.4319, allocations: 11.58 kB / 0.8612 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4319, allocations: 3.922 kB / 0.8612 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4319, allocations: 5.25 kB / 0.8612 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.4327, allocations: 0.7624 MB / 0.8619 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.4328, allocations: 58.75 kB / 0.862 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.4328, allocations: 10.34 kB / 0.862 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4329, allocations: 17.5 kB / 0.862 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.433, allocations: 34.05 kB / 0.862 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.433, allocations: 15.58 kB / 0.8621 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001362/0.4332, allocations: 185.6 kB / 0.8622 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4332, allocations: 0.5938 kB / 0.8622 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002323/0.4334, allocations: 84 kB / 0.8623 GB, free: 18 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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 0.000123/0.4335, allocations: 135.2 kB / 0.8624 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005393/0.4341, allocations: 0.5885 MB / 0.863 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4341, allocations: 0.5938 kB / 0.863 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.4343, allocations: 321.6 kB / 0.8633 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.4347, allocations: 94.28 kB / 0.8634 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.4361, allocations: 1.062 MB / 0.8645 GB, free: 16.83 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.4362, allocations: 163.2 kB / 0.8646 GB, free: 16.75 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.4363, allocations: 29.83 kB / 0.8646 GB, free: 16.74 MB / 490.8 MB Notification: Performance of SimCode: time 8.12e-07/0.4363, allocations: 0 / 0.8646 GB, free: 16.74 MB / 490.8 MB Notification: Performance of Templates: time 0.006656/0.4429, allocations: 4.344 MB / 0.8689 GB, free: 16.34 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3939720671623945]