Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_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.001127/0.001127, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001009/0.001009, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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 0.9123/0.9123, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.6274/0.6274, allocations: 291.2 MB / 0.5382 GB, free: 51.41 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.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.643e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference): time 0.001825/0.001842, allocations: 2.296 MB / 0.6996 GB, free: 8.082 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.005227, allocations: 6.534 MB / 0.706 GB, free: 1.539 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.005299, allocations: 0 / 0.706 GB, free: 1.539 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.257e-05/0.005392, allocations: 27.72 kB / 0.706 GB, free: 1.512 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.005535, allocations: 83.27 kB / 0.7061 GB, free: 1.43 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.005686, allocations: 59.8 kB / 0.7061 GB, free: 1.371 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.005849, allocations: 266.6 kB / 0.7064 GB, free: 1.109 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.005957, allocations: 36.56 kB / 0.7064 GB, free: 1.078 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.00606, allocations: 143.6 kB / 0.7065 GB, free: 0.9375 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.006192, allocations: 79.78 kB / 0.7066 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.006214, allocations: 16 kB / 0.7066 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.006233, allocations: 16 kB / 0.7066 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.006257, allocations: 47.77 kB / 0.7067 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.006307, allocations: 67.84 kB / 0.7068 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.006451, allocations: 203.4 kB / 0.707 GB, free: 0.5156 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.006453, allocations: 3.938 kB / 0.707 GB, free: 0.5117 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006454, allocations: 0 / 0.707 GB, free: 0.5117 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.006457, allocations: 0 / 0.707 GB, free: 0.5117 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006565/0.007114, allocations: 497.8 kB / 0.7074 GB, free: 15.98 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.007144, allocations: 8.031 kB / 0.7074 GB, free: 15.97 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.007188, allocations: 24.8 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.007347, allocations: 178.4 kB / 0.7076 GB, free: 15.75 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.007364, allocations: 20.59 kB / 0.7077 GB, free: 15.72 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.007389, allocations: 20.3 kB / 0.7077 GB, free: 15.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.00761, allocations: 193.5 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.007621, allocations: 0 / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.007633, allocations: 4 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.007639, allocations: 4 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.007832, allocations: 142.3 kB / 0.708 GB, free: 15.35 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.008319, allocations: 493.3 kB / 0.7085 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.008608, allocations: 180 kB / 0.7086 GB, free: 14.64 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.008708, allocations: 98.52 kB / 0.7087 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.008715, allocations: 0 / 0.7087 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.008922, allocations: 234.6 kB / 0.709 GB, free: 14.28 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.008923, allocations: 4 kB / 0.709 GB, free: 14.28 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008295/0.009752, allocations: 0.7009 MB / 0.7096 GB, free: 13.52 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.009801, allocations: 140.5 kB / 0.7098 GB, free: 13.35 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.009937, allocations: 211 kB / 0.71 GB, free: 13.13 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.009953, allocations: 33.7 kB / 0.71 GB, free: 13.09 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.01001, allocations: 144.3 kB / 0.7102 GB, free: 12.95 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.01005, allocations: 71.44 kB / 0.7102 GB, free: 12.88 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.0101, allocations: 45.7 kB / 0.7103 GB, free: 12.83 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.01017, allocations: 342.8 kB / 0.7106 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.0103, allocations: 141 kB / 0.7107 GB, free: 12.33 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.01044, allocations: 217.3 kB / 0.7109 GB, free: 12.07 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.01067, allocations: 280.8 kB / 0.7112 GB, free: 11.75 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01067, allocations: 0 / 0.7112 GB, free: 11.75 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003311/0.011, allocations: 398.3 kB / 0.7116 GB, free: 11.34 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.01103, allocations: 67.33 kB / 0.7116 GB, free: 11.26 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01104, allocations: 0 / 0.7116 GB, free: 11.26 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01105, allocations: 4 kB / 0.7116 GB, free: 11.25 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01115, allocations: 51.91 kB / 0.7117 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01116, allocations: 4 kB / 0.7117 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.652e-05/0.01125, allocations: 19.98 kB / 0.7117 GB, free: 11.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.01126, allocations: 11.98 kB / 0.7117 GB, free: 11.17 MB / 426.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.0001262/0.01139, allocations: 188.3 kB / 0.7119 GB, free: 10.97 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.0114, allocations: 27.83 kB / 0.7119 GB, free: 10.94 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.01143, allocations: 21.97 kB / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.01143, allocations: 0 / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01144, allocations: 0 / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01144, allocations: 3.984 kB / 0.712 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.01188, allocations: 0.5354 MB / 0.7125 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01188, allocations: 7.984 kB / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.01198, allocations: 31.98 kB / 0.7125 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01198, allocations: 0 / 0.7125 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01199, allocations: 7.984 kB / 0.7125 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01199, allocations: 3.938 kB / 0.7125 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.012, allocations: 7.984 kB / 0.7125 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.0124, allocations: 0.4968 MB / 0.713 GB, free: 9.742 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.01242, allocations: 11.91 kB / 0.713 GB, free: 9.73 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.01244, allocations: 12 kB / 0.7131 GB, free: 9.719 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.01252, allocations: 16.03 kB / 0.7131 GB, free: 9.703 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.01257, allocations: 27.89 kB / 0.7131 GB, free: 9.676 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01258, allocations: 4 kB / 0.7131 GB, free: 9.672 MB / 426.8 MB Notification: Performance of sorting global known variables: time 8.537e-05/0.01267, allocations: 160.4 kB / 0.7132 GB, free: 9.516 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01267, allocations: 0 / 0.7132 GB, free: 9.516 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001797/0.01285, allocations: 52 kB / 0.7133 GB, free: 9.465 MB / 426.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 8.174e-05/0.01293, allocations: 131.4 kB / 0.7134 GB, free: 9.332 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.01325, allocations: 378.6 kB / 0.7138 GB, free: 8.922 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01325, allocations: 0 / 0.7138 GB, free: 8.922 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.01338, allocations: 175.2 kB / 0.714 GB, free: 8.734 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01364, allocations: 64.33 kB / 0.714 GB, free: 8.672 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.01444, allocations: 0.5992 MB / 0.7146 GB, free: 8.035 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.2e-05/0.01451, allocations: 129.5 kB / 0.7147 GB, free: 7.887 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.01456, allocations: 24.48 kB / 0.7147 GB, free: 7.863 MB / 426.8 MB Notification: Performance of SimCode: time 3.91e-07/0.01456, allocations: 0 / 0.7147 GB, free: 7.863 MB / 426.8 MB Notification: Performance of Templates: time 0.002878/0.01743, allocations: 2.942 MB / 0.7176 GB, free: 4.949 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.424928634427488]