Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_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.0007933/0.0007933, 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.0008953/0.0008953, 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.9306/0.9306, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7213/0.7213, allocations: 291.2 MB / 0.5382 GB, free: 51.81 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.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.885e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference): time 0.003713/0.003742, allocations: 2.688 MB / 0.7 GB, free: 7.691 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008636/0.01238, allocations: 6.615 MB / 0.7065 GB, free: 1.066 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.01257, allocations: 4 kB / 0.7065 GB, free: 1.062 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.01274, allocations: 39.58 kB / 0.7065 GB, free: 1.023 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.01309, allocations: 123 kB / 0.7066 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.01342, allocations: 75.83 kB / 0.7067 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.01382, allocations: 397.8 kB / 0.7071 GB, free: 448 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.01405, allocations: 56.88 kB / 0.7071 GB, free: 396 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.01437, allocations: 199.5 kB / 0.7073 GB, free: 196 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.01467, allocations: 123.6 kB / 0.7074 GB, free: 72 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.01472, allocations: 24 kB / 0.7074 GB, free: 48 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.01477, allocations: 24 kB / 0.7075 GB, free: 24 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.01485, allocations: 55.75 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.01501, allocations: 119.7 kB / 0.7076 GB, free: 15.85 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.01542, allocations: 291.1 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01542, allocations: 0 / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01542, allocations: 4 kB / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.01543, allocations: 0 / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001117/0.01655, allocations: 0.5924 MB / 0.7085 GB, free: 14.92 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.0166, allocations: 12.03 kB / 0.7085 GB, free: 14.91 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.006e-05/0.01669, allocations: 32.75 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.01703, allocations: 216.7 kB / 0.7087 GB, free: 14.64 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.01706, allocations: 16.75 kB / 0.7088 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.01712, allocations: 24.38 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.01766, allocations: 292.5 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.01768, allocations: 7.938 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.01771, allocations: 8 kB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01772, allocations: 7.938 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.01817, allocations: 232.4 kB / 0.7093 GB, free: 14.03 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.01942, allocations: 0.6757 MB / 0.71 GB, free: 13.31 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.01997, allocations: 239.6 kB / 0.7102 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.02021, allocations: 156.4 kB / 0.7103 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.02022, allocations: 0 / 0.7103 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/0.02068, allocations: 364.6 kB / 0.7107 GB, free: 12.48 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.855e-06/0.02068, allocations: 0 / 0.7107 GB, free: 12.48 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002135/0.02281, allocations: 1.082 MB / 0.7118 GB, free: 11.31 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.02294, allocations: 225.6 kB / 0.712 GB, free: 11.04 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.02321, allocations: 241.9 kB / 0.7122 GB, free: 10.8 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.02325, allocations: 37.7 kB / 0.7122 GB, free: 10.76 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.02337, allocations: 164.7 kB / 0.7124 GB, free: 10.59 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.02347, allocations: 115 kB / 0.7125 GB, free: 10.48 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.02358, allocations: 66.2 kB / 0.7126 GB, free: 10.4 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.02378, allocations: 350.7 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.02426, allocations: 207.9 kB / 0.7131 GB, free: 9.828 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.02467, allocations: 315.1 kB / 0.7134 GB, free: 9.461 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000635/0.0253, allocations: 435.1 kB / 0.7138 GB, free: 8.969 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02531, allocations: 0 / 0.7138 GB, free: 8.969 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009456/0.02625, allocations: 0.5497 MB / 0.7143 GB, free: 8.375 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.02635, allocations: 89.44 kB / 0.7144 GB, free: 8.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.02637, allocations: 8 kB / 0.7144 GB, free: 8.262 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.0264, allocations: 4 kB / 0.7144 GB, free: 8.258 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.02671, allocations: 79.83 kB / 0.7145 GB, free: 8.18 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.02673, allocations: 4 kB / 0.7145 GB, free: 8.176 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.02695, allocations: 23.98 kB / 0.7145 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.02698, allocations: 16 kB / 0.7146 GB, free: 8.137 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0003569/0.02734, allocations: 230.9 kB / 0.7148 GB, free: 7.891 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.0274, allocations: 31.81 kB / 0.7148 GB, free: 7.859 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.667e-05/0.02747, allocations: 34.89 kB / 0.7148 GB, free: 7.824 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.02748, allocations: 4 kB / 0.7149 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.02749, allocations: 0 / 0.7149 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.02749, allocations: 0 / 0.7149 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.02868, allocations: 0.7523 MB / 0.7156 GB, free: 7.008 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.02868, allocations: 4 kB / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.02893, allocations: 59.89 kB / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.02893, allocations: 0 / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.02896, allocations: 8 kB / 0.7157 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.02896, allocations: 0 / 0.7157 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.02897, allocations: 7.938 kB / 0.7157 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009545/0.02992, allocations: 0.7307 MB / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.02998, allocations: 27.75 kB / 0.7164 GB, free: 6.113 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.03002, allocations: 12.19 kB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.03019, allocations: 27.97 kB / 0.7164 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.0303, allocations: 35.88 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.03033, allocations: 12 kB / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001684/0.03049, allocations: 181.2 kB / 0.7167 GB, free: 5.852 MB / 426.8 MB Notification: Performance of sort global known variables: time 1e-07/0.03049, allocations: 0 / 0.7167 GB, free: 5.852 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004141/0.03091, allocations: 84 kB / 0.7167 GB, free: 5.77 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001935/0.0311, allocations: 126.4 kB / 0.7169 GB, free: 5.641 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007708/0.03187, allocations: 0.5605 MB / 0.7174 GB, free: 5.016 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.03187, allocations: 3.938 kB / 0.7174 GB, free: 5.012 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.0322, allocations: 298.1 kB / 0.7177 GB, free: 4.684 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.03275, allocations: 89.11 kB / 0.7178 GB, free: 4.598 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.0343, allocations: 0.8125 MB / 0.7186 GB, free: 3.742 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.03445, allocations: 160.3 kB / 0.7187 GB, free: 3.562 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.03455, allocations: 28.5 kB / 0.7188 GB, free: 3.535 MB / 426.8 MB Notification: Performance of SimCode: time 1.443e-06/0.03455, allocations: 0 / 0.7188 GB, free: 3.535 MB / 426.8 MB Notification: Performance of Templates: time 0.1939/0.2285, allocations: 4.025 MB / 0.7227 GB, free: 36.71 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7966800248250365]