Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_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.0009587/0.0009587, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001959, 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.0007209/0.0007209, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009196/0.001641, 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.058/1.058, allocations: 177.1 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09353/1.151, allocations: 53.68 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.8376/0.8376, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03055/0.8682, 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.N02AA01_Morphine.Morphine_Ihmsen2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.192e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference): time 0.006221/0.006243, allocations: 6.53 MB / 0.551 GB, free: 23.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.01485, allocations: 7.549 MB / 0.5584 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.01595, allocations: 15.94 kB / 0.5584 GB, free: 16.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.01638, allocations: 146.5 kB / 0.5585 GB, free: 16.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.0177, allocations: 452.2 kB / 0.5589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.0184, allocations: 271.5 kB / 0.5592 GB, free: 15.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2852/0.3036, allocations: 1.489 MB / 0.5607 GB, free: 75.15 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.304, allocations: 229.1 kB / 0.5609 GB, free: 75.1 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009246/0.3049, allocations: 0.8874 MB / 0.5617 GB, free: 74.98 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.3055, allocations: 458.6 kB / 0.5622 GB, free: 74.92 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3056, allocations: 99.72 kB / 0.5623 GB, free: 74.92 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3057, allocations: 104.1 kB / 0.5624 GB, free: 74.92 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.3058, allocations: 161.5 kB / 0.5625 GB, free: 74.88 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.3062, allocations: 372.5 kB / 0.5629 GB, free: 74.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.3069, allocations: 0.7612 MB / 0.5636 GB, free: 74.73 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.3069, allocations: 0 / 0.5636 GB, free: 74.73 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3069, allocations: 1.156 kB / 0.5636 GB, free: 74.73 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.307, allocations: 0 / 0.5636 GB, free: 74.73 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001542/0.3085, allocations: 1.762 MB / 0.5654 GB, free: 73.75 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3085, allocations: 17.3 kB / 0.5654 GB, free: 73.74 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.3087, allocations: 143.1 kB / 0.5655 GB, free: 73.74 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.3092, allocations: 377 kB / 0.5659 GB, free: 73.5 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.3092, allocations: 62.94 kB / 0.5659 GB, free: 73.5 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.942e-05/0.3093, allocations: 94.2 kB / 0.566 GB, free: 73.49 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.3101, allocations: 0.7858 MB / 0.5668 GB, free: 73.12 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.3101, allocations: 17.27 kB / 0.5668 GB, free: 73.11 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.3102, allocations: 34.42 kB / 0.5668 GB, free: 73.11 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.3102, allocations: 24.19 kB / 0.5669 GB, free: 73.11 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.3107, allocations: 0.6308 MB / 0.5675 GB, free: 72.77 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.3123, allocations: 1.127 MB / 0.5686 GB, free: 72.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.3129, allocations: 0.6616 MB / 0.5692 GB, free: 72.16 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.3131, allocations: 458.4 kB / 0.5697 GB, free: 71.83 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.3131, allocations: 17.88 kB / 0.5697 GB, free: 71.83 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.3137, allocations: 1.314 MB / 0.571 GB, free: 70.83 MB / 410.8 MB Notification: Performance of pre-optimization done (n=137): time 2.775e-06/0.3137, allocations: 0 / 0.571 GB, free: 70.83 MB / 410.8 MB Notification: Performance of matching and sorting (n=147): time 0.00263/0.3164, allocations: 3.424 MB / 0.5743 GB, free: 68.96 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.3165, allocations: 1.137 MB / 0.5754 GB, free: 67.65 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.3168, allocations: 453.2 kB / 0.5758 GB, free: 67.49 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.3169, allocations: 69.09 kB / 0.5759 GB, free: 67.45 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.317, allocations: 262.8 kB / 0.5762 GB, free: 67.27 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.3172, allocations: 490.6 kB / 0.5766 GB, free: 66.94 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.3174, allocations: 259.5 kB / 0.5769 GB, free: 66.89 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.3174, allocations: 364 kB / 0.5772 GB, free: 66.57 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.3177, allocations: 0.5529 MB / 0.5778 GB, free: 66.13 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3181, allocations: 0.8715 MB / 0.5786 GB, free: 65.29 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/0.3188, allocations: 1.346 MB / 0.5799 GB, free: 64.16 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.3188, allocations: 2.531 kB / 0.5799 GB, free: 64.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.001045/0.3199, allocations: 1.414 MB / 0.5813 GB, free: 63.21 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.32, allocations: 344.9 kB / 0.5816 GB, free: 62.83 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.32, allocations: 10.31 kB / 0.5816 GB, free: 62.83 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.32, allocations: 16.53 kB / 0.5817 GB, free: 62.83 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.3208, allocations: 445.8 kB / 0.5821 GB, free: 62.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.3208, allocations: 19.81 kB / 0.5821 GB, free: 62.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.3212, allocations: 66.84 kB / 0.5822 GB, free: 62.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.3212, allocations: 51.06 kB / 0.5822 GB, free: 62.75 MB / 410.8 MB Warning: Assuming fixed start value for the following 3 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 infusionDose.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: 40 * Number of states: 0 () * Number of discrete variables: 90 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,central_M1.Cmin,$PRE.central_M1.Cmin,central_M1.Cmax,$PRE.central_M1.Cmax,peripheral_M1.Cmin,$PRE.peripheral_M1.Cmin,peripheral_M1.Cmax,$PRE.peripheral_M1.Cmax,peripheral2_M1.Cmin,$PRE.peripheral2_M1.Cmin,peripheral2_M1.Cmax,$PRE.peripheral2_M1.Cmax,central_M2.Cmin,$PRE.central_M2.Cmin,central_M2.Cmax,$PRE.central_M2.Cmax,peripheral_M2.Cmin,$PRE.peripheral_M2.Cmin,peripheral_M2.Cmax,$PRE.peripheral_M2.Cmax,peripheral2_M2.Cmin,$PRE.peripheral2_M2.Cmin,peripheral2_M2.Cmax,$PRE.peripheral2_M2.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,infusionDose.pulse.count,$PRE.infusionDose.pulse.count,infusionDose.pulse.T_start,$PRE.infusionDose.pulse.T_start,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,peripheral2_M2.rising,$PRE.peripheral2_M2.rising,peripheral_M2.rising,$PRE.peripheral_M2.rising,central_M2.rising,$PRE.central_M2.rising,peripheral2_M1.rising,$PRE.peripheral2_M1.rising,peripheral_M1.rising,$PRE.peripheral_M1.rising,central_M1.rising,$PRE.central_M1.rising,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,central.rising,$PRE.central.rising,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 12 * 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.0003424/0.3216, allocations: 0.555 MB / 0.5828 GB, free: 62.29 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3217, allocations: 135.9 kB / 0.5829 GB, free: 62.26 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007712/0.3225, allocations: 1.265 MB / 0.5841 GB, free: 61.42 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3225, allocations: 12.44 kB / 0.5841 GB, free: 61.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3225, allocations: 1.031 kB / 0.5841 GB, free: 61.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.3227, allocations: 105.9 kB / 0.5842 GB, free: 61.35 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.3227, allocations: 45.97 kB / 0.5843 GB, free: 61.34 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3228, allocations: 49.84 kB / 0.5843 GB, free: 61.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3231, allocations: 46.34 kB / 0.5844 GB, free: 61.33 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.3232, allocations: 106.7 kB / 0.5845 GB, free: 61.29 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001005/0.3242, allocations: 1.385 MB / 0.5858 GB, free: 60.36 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001137/0.3253, allocations: 2.05 MB / 0.5878 GB, free: 58.95 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003281/0.3257, allocations: 0.6081 MB / 0.5884 GB, free: 58.55 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001784/0.3258, allocations: 212.2 kB / 0.5886 GB, free: 58.49 MB / 410.8 MB Notification: Performance of Backend: time 2.51e-07/0.3258, allocations: 0 / 0.5886 GB, free: 58.49 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.3269, allocations: 1.694 MB / 0.5903 GB, free: 57.19 MB / 410.8 MB Notification: Performance of SimCode: time 0.02351/0.3504, allocations: 3.102 MB / 0.5933 GB, free: 54.97 MB / 410.8 MB Notification: Performance of Templates: time 0.01957/0.37, allocations: 17.83 MB / 0.6107 GB, free: 39.37 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Ihmsen2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.266981109045446]