Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_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.0008769/0.0008769, allocations: 104.4 kB / 19.71 MB, free: 436 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.0009799/0.0009799, allocations: 215.5 kB / 23.01 MB, free: 2.934 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.9845/0.9845, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.7292/0.7292, allocations: 312.3 MB / 0.6108 GB, free: 97.41 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_Watson2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_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.001646/0.001646, allocations: 78.27 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1307, allocations: 73.99 MB / 0.8421 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference): time 0.002995/0.1337, allocations: 3.017 MB / 0.8451 GB, free: 7.254 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.1391, allocations: 6.629 MB / 0.8516 GB, free: 0.625 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.1393, allocations: 4.594 kB / 0.8516 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1395, allocations: 39.56 kB / 0.8516 GB, free: 0.582 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1397, allocations: 128.9 kB / 0.8517 GB, free: 468 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.14, allocations: 84.53 kB / 0.8518 GB, free: 384 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.1403, allocations: 418.2 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1404, allocations: 58.25 kB / 0.8523 GB, free: 15.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1406, allocations: 151.3 kB / 0.8524 GB, free: 15.76 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1408, allocations: 143.9 kB / 0.8525 GB, free: 15.62 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.1408, allocations: 32.62 kB / 0.8526 GB, free: 15.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.812e-05/0.1409, allocations: 32.62 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.1409, allocations: 71.69 kB / 0.8527 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.141, allocations: 144 kB / 0.8528 GB, free: 15.34 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1413, allocations: 359.2 kB / 0.8531 GB, free: 14.99 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1413, allocations: 0 / 0.8531 GB, free: 14.99 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1413, allocations: 0.625 kB / 0.8531 GB, free: 14.99 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1413, allocations: 0 / 0.8531 GB, free: 14.99 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.0007537/0.1421, allocations: 0.6093 MB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1421, allocations: 8.625 kB / 0.8538 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.1422, allocations: 41.33 kB / 0.8538 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1424, allocations: 221.1 kB / 0.854 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1424, allocations: 17.31 kB / 0.854 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.1425, allocations: 32.55 kB / 0.854 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.1428, allocations: 305.8 kB / 0.8543 GB, free: 13.68 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1428, allocations: 4 kB / 0.8543 GB, free: 13.67 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.1428, allocations: 8.703 kB / 0.8544 GB, free: 13.66 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1429, allocations: 8 kB / 0.8544 GB, free: 13.66 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.1431, allocations: 245.7 kB / 0.8546 GB, free: 13.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.144, allocations: 0.6475 MB / 0.8552 GB, free: 12.72 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.1444, allocations: 280.3 kB / 0.8555 GB, free: 12.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1445, allocations: 165.6 kB / 0.8557 GB, free: 12.25 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1445, allocations: 0 / 0.8557 GB, free: 12.25 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2859/0.4304, allocations: 362.3 kB / 0.856 GB, free: 21.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.547e-06/0.4304, allocations: 0 / 0.856 GB, free: 21.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001529/0.432, allocations: 1.137 MB / 0.8571 GB, free: 20.8 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.432, allocations: 222.4 kB / 0.8573 GB, free: 20.55 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.4323, allocations: 248.6 kB / 0.8576 GB, free: 20.45 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.4323, allocations: 39.23 kB / 0.8576 GB, free: 20.42 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.4324, allocations: 160.4 kB / 0.8577 GB, free: 20.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.4324, allocations: 114.9 kB / 0.8579 GB, free: 20.26 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.272e-05/0.4325, allocations: 69.48 kB / 0.8579 GB, free: 20.25 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.4326, allocations: 349.8 kB / 0.8583 GB, free: 19.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.4328, allocations: 224.2 kB / 0.8585 GB, free: 19.82 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.433, allocations: 322.4 kB / 0.8588 GB, free: 19.59 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.4334, allocations: 455.8 kB / 0.8592 GB, free: 19.33 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4334, allocations: 0.7188 kB / 0.8592 GB, free: 19.33 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005429/0.4339, allocations: 0.5739 MB / 0.8598 GB, free: 19.09 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.434, allocations: 91 kB / 0.8599 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.434, allocations: 4.219 kB / 0.8599 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.434, allocations: 8.688 kB / 0.8599 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.4342, allocations: 78.56 kB / 0.8599 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4342, allocations: 9.641 kB / 0.86 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.4344, allocations: 24.64 kB / 0.86 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.4344, allocations: 13.91 kB / 0.86 GB, free: 19 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.0002384/0.4346, allocations: 247.4 kB / 0.8602 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.4347, allocations: 31.23 kB / 0.8603 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.4347, allocations: 33.84 kB / 0.8603 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4347, allocations: 3.312 kB / 0.8603 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4347, allocations: 0.625 kB / 0.8603 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4347, allocations: 4.359 kB / 0.8603 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.4355, allocations: 0.8171 MB / 0.8611 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4355, allocations: 0 / 0.8611 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.4357, allocations: 60.08 kB / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.4357, allocations: 2.188 kB / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.4358, allocations: 10.77 kB / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4358, allocations: 6.094 kB / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4358, allocations: 3.938 kB / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.4365, allocations: 0.7642 MB / 0.8619 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4366, allocations: 53.55 kB / 0.862 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.4366, allocations: 15.42 kB / 0.862 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.4368, allocations: 15.88 kB / 0.862 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.4368, allocations: 39.73 kB / 0.862 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.4369, allocations: 13.67 kB / 0.8621 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001349/0.437, allocations: 184.5 kB / 0.8622 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.437, allocations: 2.625 kB / 0.8622 GB, free: 17.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002515/0.4373, allocations: 86.28 kB / 0.8623 GB, free: 17.98 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.0001369/0.4374, allocations: 128.4 kB / 0.8624 GB, free: 17.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.4379, allocations: 0.5899 MB / 0.863 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4379, allocations: 1.406 kB / 0.863 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.4382, allocations: 316.8 kB / 0.8633 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.4386, allocations: 90.94 kB / 0.8634 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.44, allocations: 1.067 MB / 0.8644 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.4402, allocations: 164.5 kB / 0.8646 GB, free: 16.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.4403, allocations: 28.42 kB / 0.8646 GB, free: 16.73 MB / 490.8 MB Notification: Performance of SimCode: time 1.012e-06/0.4403, allocations: 0 / 0.8646 GB, free: 16.73 MB / 490.8 MB Notification: Performance of Templates: time 0.009254/0.4495, allocations: 4.353 MB / 0.8689 GB, free: 16.33 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.128494407981634]