Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_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.001144/0.001144, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001697/0.00284, 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.0011/0.0011, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002576, 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1079/1.145, 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.8008/0.8008, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03516/0.8359, 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.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.058e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference): time 0.00339/0.003421, allocations: 2.494 MB / 0.547 GB, free: 28.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005436/0.008856, allocations: 6.692 MB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.008999, allocations: 0 / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.306e-05/0.009082, allocations: 31.66 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.009258, allocations: 83.33 kB / 0.5536 GB, free: 21.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.009416, allocations: 59.73 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.009624, allocations: 270.6 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.009739, allocations: 38.55 kB / 0.554 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.009917, allocations: 168.3 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.01007, allocations: 91.7 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.0101, allocations: 16 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.91e-05/0.01013, allocations: 20 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.01016, allocations: 23.88 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.01022, allocations: 63.88 kB / 0.5543 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.0104, allocations: 139.5 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.01041, allocations: 0 / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01041, allocations: 4 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.01043, allocations: 0 / 0.5545 GB, free: 20.38 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005734/0.011, allocations: 0.4937 MB / 0.555 GB, free: 19.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.01103, allocations: 11.89 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.01108, allocations: 28.91 kB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.01125, allocations: 179 kB / 0.5552 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.01127, allocations: 12.61 kB / 0.5552 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.01129, allocations: 16.31 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.01146, allocations: 167.4 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.01147, allocations: 0 / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.01148, allocations: 4 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.01149, allocations: 4 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.01157, allocations: 76.64 kB / 0.5554 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.01195, allocations: 365 kB / 0.5558 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.01213, allocations: 104.2 kB / 0.5559 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.01216, allocations: 62.55 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.01217, allocations: 4 kB / 0.5559 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.01231, allocations: 199.2 kB / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.01232, allocations: 0 / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005541/0.01287, allocations: 0.5093 MB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.0129, allocations: 166.2 kB / 0.5568 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.01299, allocations: 206 kB / 0.557 GB, free: 17.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.01301, allocations: 37.69 kB / 0.557 GB, free: 17.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.01306, allocations: 116.4 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.01309, allocations: 71.45 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.01314, allocations: 51.19 kB / 0.5572 GB, free: 17.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.01318, allocations: 338.8 kB / 0.5576 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.01324, allocations: 93 kB / 0.5577 GB, free: 16.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.0133, allocations: 177.3 kB / 0.5578 GB, free: 16.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.0134, allocations: 211 kB / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01341, allocations: 0 / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001576/0.01356, allocations: 267 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.01359, allocations: 63.41 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.0136, allocations: 8.219 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.01361, allocations: 0 / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.01377, allocations: 69.86 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01377, allocations: 3.938 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.01385, allocations: 23.97 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.01386, allocations: 11.94 kB / 0.5585 GB, free: 15.86 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.000114/0.01398, allocations: 167.6 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.014, allocations: 27.98 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.01403, allocations: 21.95 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01403, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01403, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.01406, allocations: 23.84 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01407, allocations: 7.938 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.01409, allocations: 11.98 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.01414, allocations: 8 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.01419, allocations: 19.95 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001797/0.01437, allocations: 268.2 kB / 0.559 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001904/0.01456, allocations: 430.5 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2767/0.2912, allocations: 70.95 kB / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.267e-05/0.2913, allocations: 62.83 kB / 0.5595 GB, free: 79.58 MB / 410.8 MB Notification: Performance of Backend: time 3.21e-07/0.2913, allocations: 0 / 0.5595 GB, free: 79.58 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.2918, allocations: 336.8 kB / 0.5598 GB, free: 79.34 MB / 410.8 MB Notification: Performance of SimCode: time 0.005414/0.2972, allocations: 1.116 MB / 0.5609 GB, free: 78.53 MB / 410.8 MB Notification: Performance of Templates: time 0.005283/0.3025, allocations: 3.867 MB / 0.5647 GB, free: 78.38 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6897395569831133]