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.0008893/0.0008893, allocations: 92.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.001329/0.001329, allocations: 165.9 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.9351/0.9351, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6863/0.6863, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.601e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final): time 0.002277/0.002293, allocations: 3.004 MB / 0.7003 GB, free: 7.402 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.00597, allocations: 6.654 MB / 0.7068 GB, free: 0.7383 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/0.006067, allocations: 0 / 0.7068 GB, free: 0.7383 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.006183, allocations: 39.58 kB / 0.7068 GB, free: 0.6992 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.006368, allocations: 134.9 kB / 0.7069 GB, free: 0.5664 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.006548, allocations: 87.78 kB / 0.707 GB, free: 492 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.006781, allocations: 429.8 kB / 0.7074 GB, free: 60 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.006926, allocations: 62.64 kB / 0.7075 GB, free: 16 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.007102, allocations: 227.5 kB / 0.7077 GB, free: 15.77 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.007295, allocations: 123.6 kB / 0.7078 GB, free: 15.65 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.007332, allocations: 32 kB / 0.7079 GB, free: 15.62 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.271e-05/0.007365, allocations: 36 kB / 0.7079 GB, free: 15.59 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.007407, allocations: 63.7 kB / 0.708 GB, free: 15.52 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.007501, allocations: 123.8 kB / 0.7081 GB, free: 15.4 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.007766, allocations: 362.9 kB / 0.7084 GB, free: 15.05 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.007768, allocations: 0 / 0.7084 GB, free: 15.05 MB / 426.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007769, allocations: 0 / 0.7084 GB, free: 15.05 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.007774, allocations: 0 / 0.7084 GB, free: 15.05 MB / 426.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.0007175/0.008491, allocations: 0.6064 MB / 0.709 GB, free: 14.39 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.008527, allocations: 12.03 kB / 0.709 GB, free: 14.38 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.008582, allocations: 36.7 kB / 0.7091 GB, free: 14.35 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.008803, allocations: 228.7 kB / 0.7093 GB, free: 14.1 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.00882, allocations: 12.88 kB / 0.7093 GB, free: 14.09 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.008856, allocations: 32.27 kB / 0.7093 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.009192, allocations: 306.2 kB / 0.7096 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.009207, allocations: 7.922 kB / 0.7096 GB, free: 13.72 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.009226, allocations: 8 kB / 0.7096 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.009232, allocations: 4 kB / 0.7096 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.009517, allocations: 256.2 kB / 0.7099 GB, free: 13.45 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.01022, allocations: 0.6465 MB / 0.7105 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.01061, allocations: 270 kB / 0.7108 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.01076, allocations: 164.4 kB / 0.7109 GB, free: 12.3 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.01077, allocations: 0 / 0.7109 GB, free: 12.3 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/0.01109, allocations: 371.4 kB / 0.7113 GB, free: 11.89 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.01109, allocations: 0 / 0.7113 GB, free: 11.89 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001263/0.01236, allocations: 1.139 MB / 0.7124 GB, free: 10.66 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.01244, allocations: 221.6 kB / 0.7126 GB, free: 10.39 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.01261, allocations: 245.9 kB / 0.7128 GB, free: 10.14 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.01264, allocations: 41.7 kB / 0.7129 GB, free: 10.1 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.01271, allocations: 160.8 kB / 0.713 GB, free: 9.934 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.01277, allocations: 111.1 kB / 0.7131 GB, free: 9.824 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.01284, allocations: 78.19 kB / 0.7132 GB, free: 9.742 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.01293, allocations: 342.7 kB / 0.7135 GB, free: 9.398 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.01314, allocations: 231.8 kB / 0.7138 GB, free: 9.152 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.01337, allocations: 334.7 kB / 0.7141 GB, free: 8.762 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.01373, allocations: 450.2 kB / 0.7145 GB, free: 8.254 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01374, allocations: 0 / 0.7145 GB, free: 8.254 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005123/0.01425, allocations: 0.5848 MB / 0.7151 GB, free: 7.625 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.01429, allocations: 93.09 kB / 0.7152 GB, free: 7.516 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.0143, allocations: 0 / 0.7152 GB, free: 7.516 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01431, allocations: 8 kB / 0.7152 GB, free: 7.508 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.01448, allocations: 79.83 kB / 0.7152 GB, free: 7.43 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01449, allocations: 4 kB / 0.7153 GB, free: 7.426 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.0146, allocations: 23.98 kB / 0.7153 GB, free: 7.402 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.01462, allocations: 16 kB / 0.7153 GB, free: 7.387 MB / 426.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.0002046/0.01483, allocations: 244.3 kB / 0.7155 GB, free: 7.129 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.01486, allocations: 31.81 kB / 0.7156 GB, free: 7.098 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.0149, allocations: 38.95 kB / 0.7156 GB, free: 7.059 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.0149, allocations: 0 / 0.7156 GB, free: 7.059 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01491, allocations: 4 kB / 0.7156 GB, free: 7.055 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01491, allocations: 0 / 0.7156 GB, free: 7.055 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.01564, allocations: 0.8134 MB / 0.7164 GB, free: 6.184 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01564, allocations: 0 / 0.7164 GB, free: 6.184 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.0158, allocations: 55.95 kB / 0.7164 GB, free: 6.129 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.0158, allocations: 0 / 0.7164 GB, free: 6.129 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.01582, allocations: 20 kB / 0.7165 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01582, allocations: 0 / 0.7165 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01583, allocations: 0 / 0.7165 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.01648, allocations: 0.7831 MB / 0.7172 GB, free: 5.273 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.01655, allocations: 55.77 kB / 0.7173 GB, free: 5.219 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.01659, allocations: 16 kB / 0.7173 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.01669, allocations: 11.98 kB / 0.7173 GB, free: 5.191 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.01676, allocations: 31.95 kB / 0.7173 GB, free: 5.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.01678, allocations: 19.92 kB / 0.7174 GB, free: 5.141 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001181/0.0169, allocations: 185.2 kB / 0.7175 GB, free: 4.961 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0169, allocations: 0 / 0.7175 GB, free: 4.961 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002251/0.01712, allocations: 84 kB / 0.7176 GB, free: 4.879 MB / 426.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.000105/0.01723, allocations: 136.7 kB / 0.7177 GB, free: 4.742 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004929/0.01772, allocations: 0.5881 MB / 0.7183 GB, free: 4.086 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01772, allocations: 0 / 0.7183 GB, free: 4.086 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.01795, allocations: 310.8 kB / 0.7186 GB, free: 3.746 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.01828, allocations: 90.92 kB / 0.7187 GB, free: 3.656 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.01929, allocations: 0.8868 MB / 0.7196 GB, free: 2.727 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.01939, allocations: 168.2 kB / 0.7197 GB, free: 2.539 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.01946, allocations: 28.5 kB / 0.7198 GB, free: 2.512 MB / 426.8 MB Notification: Performance of SimCode: time 5.91e-07/0.01946, allocations: 4 kB / 0.7198 GB, free: 2.508 MB / 426.8 MB Notification: Performance of Templates: time 0.171/0.1904, allocations: 4.364 MB / 0.724 GB, free: 36.25 MB / 426.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: 5.879817449487746]