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.002124/0.002124, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.002593/0.002593, allocations: 215.6 kB / 22.25 MB, free: 3.559 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.725/1.725, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 178] 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 1.499/1.499, allocations: 316.7 MB / 0.6144 GB, free: 92.92 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003945/0.003945, allocations: 77.81 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1804, allocations: 73.99 MB / 0.8472 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference): time 0.004238/0.1846, allocations: 2.296 MB / 0.8495 GB, free: 2.613 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3517/0.5363, allocations: 6.523 MB / 0.8558 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.5365, allocations: 3.266 kB / 0.8558 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.5366, allocations: 28.59 kB / 0.8559 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.5368, allocations: 79.16 kB / 0.8559 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.5371, allocations: 54.89 kB / 0.856 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.5373, allocations: 261.1 kB / 0.8562 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.5374, allocations: 35.28 kB / 0.8563 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.5375, allocations: 100.9 kB / 0.8564 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.5377, allocations: 95.27 kB / 0.8565 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.5378, allocations: 18.06 kB / 0.8565 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.146e-05/0.5378, allocations: 18.38 kB / 0.8565 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.5378, allocations: 38.94 kB / 0.8565 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.5379, allocations: 95.27 kB / 0.8566 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.5381, allocations: 194.1 kB / 0.8568 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5382, allocations: 0 / 0.8568 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5382, allocations: 0 / 0.8568 GB, free: 21.73 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.5382, allocations: 0.625 kB / 0.8568 GB, free: 21.73 MB / 490.8 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.0007338/0.5389, allocations: 0.4949 MB / 0.8573 GB, free: 21.33 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.5389, allocations: 8.625 kB / 0.8573 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.539, allocations: 27.91 kB / 0.8573 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.5392, allocations: 185.9 kB / 0.8575 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.5392, allocations: 8.609 kB / 0.8575 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.5392, allocations: 21.58 kB / 0.8575 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.5396, allocations: 189 kB / 0.8577 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5396, allocations: 3 kB / 0.8577 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.5396, allocations: 5.75 kB / 0.8577 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5396, allocations: 5.625 kB / 0.8577 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.5399, allocations: 147.1 kB / 0.8579 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.5406, allocations: 482.4 kB / 0.8583 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.541, allocations: 173.9 kB / 0.8585 GB, free: 20.69 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.5412, allocations: 95 kB / 0.8586 GB, free: 20.65 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.5412, allocations: 3.938 kB / 0.8586 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.5415, allocations: 227.7 kB / 0.8588 GB, free: 20.5 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.5415, allocations: 0.625 kB / 0.8588 GB, free: 20.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001219/0.5427, allocations: 0.6991 MB / 0.8595 GB, free: 20.14 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.5427, allocations: 139.2 kB / 0.8596 GB, free: 19.99 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.5429, allocations: 215.7 kB / 0.8598 GB, free: 19.88 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5429, allocations: 32.03 kB / 0.8599 GB, free: 19.85 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.543, allocations: 135.7 kB / 0.86 GB, free: 19.76 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.543, allocations: 69.44 kB / 0.8601 GB, free: 19.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.5431, allocations: 57.59 kB / 0.8601 GB, free: 19.7 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.787e-05/0.5431, allocations: 340.9 kB / 0.8604 GB, free: 19.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.5433, allocations: 142.9 kB / 0.8606 GB, free: 19.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.5435, allocations: 224 kB / 0.8608 GB, free: 19.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.5439, allocations: 280.2 kB / 0.8611 GB, free: 18.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5439, allocations: 0.5938 kB / 0.8611 GB, free: 18.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005173/0.5444, allocations: 390.2 kB / 0.8614 GB, free: 18.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.5444, allocations: 66.53 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5444, allocations: 7.219 kB / 0.8615 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5445, allocations: 4.562 kB / 0.8615 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.5447, allocations: 48.92 kB / 0.8615 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.5447, allocations: 5.531 kB / 0.8616 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.5448, allocations: 28.61 kB / 0.8616 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.5449, allocations: 5.531 kB / 0.8616 GB, free: 18.71 MB / 490.8 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.0001426/0.545, allocations: 180.7 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.545, allocations: 23.92 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.5451, allocations: 28.98 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5451, allocations: 3.031 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5451, allocations: 4.625 kB / 0.8618 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5451, allocations: 1.219 kB / 0.8618 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.5457, allocations: 0.5403 MB / 0.8623 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.5457, allocations: 1.953 kB / 0.8623 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.5459, allocations: 34.27 kB / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.5459, allocations: 3.875 kB / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.5459, allocations: 6.312 kB / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5459, allocations: 5.75 kB / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5459, allocations: 0 / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.5465, allocations: 497.7 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.5466, allocations: 22.25 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.5466, allocations: 8.875 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.5468, allocations: 13.97 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.5468, allocations: 26.64 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.5468, allocations: 11.91 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00011/0.5469, allocations: 159.6 kB / 0.8631 GB, free: 17.89 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5469, allocations: 0.6875 kB / 0.8631 GB, free: 17.89 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000278/0.5472, allocations: 54.12 kB / 0.8632 GB, free: 17.89 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 9.834e-05/0.5473, allocations: 112.5 kB / 0.8633 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004784/0.5478, allocations: 383 kB / 0.8636 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5478, allocations: 0 / 0.8636 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.548, allocations: 172.5 kB / 0.8638 GB, free: 17.47 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.5485, allocations: 76.48 kB / 0.8639 GB, free: 17.46 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.5496, allocations: 0.683 MB / 0.8645 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.5497, allocations: 122.8 kB / 0.8646 GB, free: 17.08 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.616e-05/0.5498, allocations: 26.17 kB / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.5498, allocations: 20.83 kB / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.5498, allocations: 0 / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of Templates: time 0.007834/0.5577, allocations: 3.64 MB / 0.8682 GB, free: 16.74 MB / 490.8 MB " [Timeout remaining time 659] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone_Shin2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.653697485104203]