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.001105/0.001105, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00165/0.002755, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001172/0.001172, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.002701, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.031/1.031, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09679/1.128, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.7935/0.7935, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03147/0.825, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.493e-06/1.493e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.68e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final): time 0.002727/0.002744, allocations: 3.292 MB / 0.5478 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005129/0.007873, allocations: 6.801 MB / 0.5544 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.008047, allocations: 4 kB / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.208e-05/0.008139, allocations: 47.5 kB / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.008354, allocations: 127 kB / 0.5546 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.00854, allocations: 91.77 kB / 0.5547 GB, free: 20.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.008832, allocations: 433.8 kB / 0.5551 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.008971, allocations: 75.36 kB / 0.5552 GB, free: 19.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.00921, allocations: 262.6 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.009399, allocations: 131.6 kB / 0.5555 GB, free: 19.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.009434, allocations: 32 kB / 0.5556 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.515e-05/0.00947, allocations: 28 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.009505, allocations: 47.81 kB / 0.5556 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.211e-05/0.009587, allocations: 103.8 kB / 0.5557 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.009799, allocations: 227.2 kB / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.009812, allocations: 4 kB / 0.556 GB, free: 18.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.009813, allocations: 0 / 0.556 GB, free: 18.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.009827, allocations: 4 kB / 0.556 GB, free: 18.83 MB / 410.7 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.0006662/0.01049, allocations: 0.6395 MB / 0.5566 GB, free: 18.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.01052, allocations: 11.89 kB / 0.5566 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.01058, allocations: 40.91 kB / 0.5566 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.01077, allocations: 197.5 kB / 0.5568 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.01079, allocations: 20.88 kB / 0.5569 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.01082, allocations: 24.33 kB / 0.5569 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.01103, allocations: 246.2 kB / 0.5571 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.01104, allocations: 0 / 0.5571 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.01106, allocations: 12 kB / 0.5571 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.01107, allocations: 4 kB / 0.5571 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.01118, allocations: 142.5 kB / 0.5573 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.01172, allocations: 477.9 kB / 0.5577 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.01192, allocations: 184.1 kB / 0.5579 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.01197, allocations: 103.1 kB / 0.558 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.01198, allocations: 7.938 kB / 0.558 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.01216, allocations: 327.4 kB / 0.5583 GB, free: 16.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.01216, allocations: 3.938 kB / 0.5583 GB, free: 16.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007564/0.01292, allocations: 0.8366 MB / 0.5591 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.01296, allocations: 277 kB / 0.5594 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2727/0.2856, allocations: 222.3 kB / 0.5596 GB, free: 78.76 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/0.2857, allocations: 39.16 kB / 0.5596 GB, free: 78.73 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.2858, allocations: 139 kB / 0.5598 GB, free: 78.65 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.2859, allocations: 119.9 kB / 0.5599 GB, free: 78.61 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.286, allocations: 76.7 kB / 0.56 GB, free: 78.59 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.286, allocations: 341.4 kB / 0.5603 GB, free: 78.28 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.2861, allocations: 151.7 kB / 0.5604 GB, free: 78.18 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.2863, allocations: 252.7 kB / 0.5607 GB, free: 77.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.2865, allocations: 336.8 kB / 0.561 GB, free: 77.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2865, allocations: 4.125 kB / 0.561 GB, free: 77.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003754/0.2869, allocations: 389.5 kB / 0.5614 GB, free: 77.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/0.287, allocations: 91.81 kB / 0.5615 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.287, allocations: 3.062 kB / 0.5615 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.287, allocations: 6.281 kB / 0.5615 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.2874, allocations: 115.5 kB / 0.5616 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2874, allocations: 4.938 kB / 0.5616 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.2876, allocations: 22.33 kB / 0.5616 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.2876, allocations: 10.19 kB / 0.5616 GB, free: 77.38 MB / 410.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.0002055/0.2878, allocations: 214.4 kB / 0.5618 GB, free: 77.21 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.2879, allocations: 38.12 kB / 0.5619 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.2879, allocations: 36.83 kB / 0.5619 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2879, allocations: 2.391 kB / 0.5619 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2879, allocations: 0 / 0.5619 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.288, allocations: 33.7 kB / 0.5619 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.2881, allocations: 10.19 kB / 0.5619 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.2881, allocations: 15.73 kB / 0.562 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2882, allocations: 15.97 kB / 0.562 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.2883, allocations: 30.41 kB / 0.562 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004561/0.2888, allocations: 400.5 kB / 0.5624 GB, free: 76.95 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004891/0.2892, allocations: 0.6002 MB / 0.563 GB, free: 76.55 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001389/0.2894, allocations: 147 kB / 0.5631 GB, free: 76.48 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.965e-05/0.2895, allocations: 81.75 kB / 0.5632 GB, free: 76.46 MB / 410.8 MB Notification: Performance of Backend: time 4.71e-07/0.2895, allocations: 0 / 0.5632 GB, free: 76.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.29, allocations: 486.6 kB / 0.5636 GB, free: 76.12 MB / 410.8 MB Notification: Performance of SimCode: time 0.0108/0.3008, allocations: 1.366 MB / 0.565 GB, free: 75.17 MB / 410.8 MB Notification: Performance of Templates: time 0.00972/0.3106, allocations: 5.546 MB / 0.5704 GB, free: 74.02 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.780457961373031]