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.0008549/0.0008549, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001964, 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.0009032/0.0009032, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003174/0.004077, 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.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09553/1.125, 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.7349/0.7349, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03237/0.7673, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5446 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.701e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference): time 0.002945/0.002972, allocations: 3.303 MB / 0.5478 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004727/0.007699, allocations: 6.801 MB / 0.5544 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.007901, allocations: 4 kB / 0.5544 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.008012, allocations: 43.52 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.008263, allocations: 127 kB / 0.5546 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.008471, allocations: 91.77 kB / 0.5547 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.008787, allocations: 437.8 kB / 0.5551 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.008922, allocations: 67.36 kB / 0.5552 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.009182, allocations: 262.5 kB / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.009381, allocations: 135.6 kB / 0.5555 GB, free: 19.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.009419, allocations: 32 kB / 0.5556 GB, free: 19.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.394e-05/0.009453, allocations: 32 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.009487, allocations: 47.81 kB / 0.5557 GB, free: 19.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/0.009573, allocations: 99.81 kB / 0.5557 GB, free: 19.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.009799, allocations: 239.1 kB / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.009813, allocations: 0 / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.009814, allocations: 0 / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.009827, allocations: 0 / 0.556 GB, free: 18.84 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.0006728/0.0105, allocations: 0.6395 MB / 0.5566 GB, free: 18.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.01054, allocations: 11.89 kB / 0.5566 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.01059, allocations: 40.91 kB / 0.5567 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.01077, allocations: 197.5 kB / 0.5568 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.01079, allocations: 16.88 kB / 0.5569 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.01082, allocations: 24.33 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.01103, allocations: 242.2 kB / 0.5571 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.01104, allocations: 3.938 kB / 0.5571 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.01105, allocations: 16 kB / 0.5571 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.01106, allocations: 4 kB / 0.5571 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.01117, allocations: 142.5 kB / 0.5573 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.01175, allocations: 481.9 kB / 0.5577 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.01196, allocations: 168.1 kB / 0.5579 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.01202, allocations: 107.2 kB / 0.558 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.01204, allocations: 7.938 kB / 0.558 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.01223, allocations: 335.3 kB / 0.5583 GB, free: 16.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.01223, allocations: 4 kB / 0.5583 GB, free: 16.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007397/0.01297, allocations: 0.8307 MB / 0.5591 GB, free: 15.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.01302, allocations: 277 kB / 0.5594 GB, free: 14.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2817/0.2947, allocations: 230 kB / 0.5596 GB, free: 79.98 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.2947, allocations: 39.48 kB / 0.5597 GB, free: 79.95 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.2948, allocations: 142.9 kB / 0.5598 GB, free: 79.87 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/0.2949, allocations: 116.6 kB / 0.5599 GB, free: 79.83 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.2949, allocations: 75.31 kB / 0.56 GB, free: 79.82 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.295, allocations: 344.5 kB / 0.5603 GB, free: 79.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2952, allocations: 148.2 kB / 0.5604 GB, free: 79.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.2953, allocations: 248.5 kB / 0.5607 GB, free: 79.18 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.2956, allocations: 342 kB / 0.561 GB, free: 78.92 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2956, allocations: 0.875 kB / 0.561 GB, free: 78.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003706/0.2959, allocations: 389.8 kB / 0.5614 GB, free: 78.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.296, allocations: 92.72 kB / 0.5615 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.296, allocations: 3.031 kB / 0.5615 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.296, allocations: 5.188 kB / 0.5615 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.2964, allocations: 113.4 kB / 0.5616 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2964, allocations: 5.844 kB / 0.5616 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.2965, allocations: 22.98 kB / 0.5616 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.2965, allocations: 10.91 kB / 0.5616 GB, free: 78.61 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.0002132/0.2968, allocations: 215.7 kB / 0.5618 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.2968, allocations: 39.52 kB / 0.5619 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.2969, allocations: 30.94 kB / 0.5619 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2969, allocations: 2.953 kB / 0.5619 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2969, allocations: 1.312 kB / 0.5619 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.297, allocations: 32.41 kB / 0.5619 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.297, allocations: 13.56 kB / 0.5619 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.297, allocations: 16.58 kB / 0.562 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2972, allocations: 13.08 kB / 0.562 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2973, allocations: 29.25 kB / 0.562 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004478/0.2977, allocations: 402.8 kB / 0.5624 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004911/0.2982, allocations: 0.6001 MB / 0.563 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001225/0.2983, allocations: 148.9 kB / 0.5631 GB, free: 77.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.223e-05/0.2984, allocations: 79.03 kB / 0.5632 GB, free: 77.69 MB / 410.8 MB Notification: Performance of Backend: time 6.71e-07/0.2984, allocations: 4.531 kB / 0.5632 GB, free: 77.69 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.2989, allocations: 486.9 kB / 0.5637 GB, free: 77.35 MB / 410.8 MB Notification: Performance of SimCode: time 0.007945/0.3068, allocations: 1.363 MB / 0.565 GB, free: 76.39 MB / 410.8 MB Notification: Performance of Templates: time 0.01076/0.3176, allocations: 5.543 MB / 0.5704 GB, free: 75.2 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Watson2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.758796928450465]