Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_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.001407/0.001407, 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.001536/0.001536, allocations: 169.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.9609/0.9609, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.658/0.658, allocations: 291.2 MB / 0.5382 GB, free: 51.75 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.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=118800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=118800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6974 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.138e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.42 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference): time 0.002201/0.002232, allocations: 2.298 MB / 0.6996 GB, free: 8.109 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.002933, allocations: 0.5961 MB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.003039, allocations: 0 / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.003187, allocations: 31.72 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.003403, allocations: 87.25 kB / 0.7003 GB, free: 7.395 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.003658, allocations: 55.81 kB / 0.7004 GB, free: 7.34 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.003918, allocations: 266.6 kB / 0.7006 GB, free: 7.078 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.004087, allocations: 32.58 kB / 0.7006 GB, free: 7.051 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.00425, allocations: 139.7 kB / 0.7008 GB, free: 6.914 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.00447, allocations: 83.72 kB / 0.7009 GB, free: 6.832 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.004504, allocations: 16 kB / 0.7009 GB, free: 6.816 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.549e-05/0.004529, allocations: 20 kB / 0.7009 GB, free: 6.797 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.004565, allocations: 31.84 kB / 0.7009 GB, free: 6.766 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.483e-05/0.00465, allocations: 83.77 kB / 0.701 GB, free: 6.684 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.004874, allocations: 200 kB / 0.7012 GB, free: 6.488 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004876, allocations: 0 / 0.7012 GB, free: 6.488 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.223e-06/0.004878, allocations: 0 / 0.7012 GB, free: 6.488 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.004883, allocations: 0 / 0.7012 GB, free: 6.488 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.0007349/0.005618, allocations: 0.493 MB / 0.7017 GB, free: 5.949 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.005658, allocations: 8.031 kB / 0.7017 GB, free: 5.941 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.005706, allocations: 24.8 kB / 0.7017 GB, free: 5.918 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.005877, allocations: 174.5 kB / 0.7019 GB, free: 5.719 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.005893, allocations: 16.53 kB / 0.7019 GB, free: 5.703 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.005922, allocations: 16.38 kB / 0.7019 GB, free: 5.688 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.006158, allocations: 194.5 kB / 0.7021 GB, free: 5.484 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.006173, allocations: 3.953 kB / 0.7021 GB, free: 5.48 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.006187, allocations: 8 kB / 0.7021 GB, free: 5.473 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.006193, allocations: 4 kB / 0.7021 GB, free: 5.469 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.006385, allocations: 150.3 kB / 0.7022 GB, free: 5.316 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.006904, allocations: 481.3 kB / 0.7027 GB, free: 4.812 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.007222, allocations: 184 kB / 0.7029 GB, free: 4.617 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.007317, allocations: 94.52 kB / 0.703 GB, free: 4.516 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.007326, allocations: 8 kB / 0.703 GB, free: 4.508 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.007547, allocations: 228.4 kB / 0.7032 GB, free: 4.254 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.007548, allocations: 0 / 0.7032 GB, free: 4.254 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009235/0.008472, allocations: 0.7005 MB / 0.7039 GB, free: 3.492 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.008518, allocations: 140.5 kB / 0.704 GB, free: 3.324 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.008646, allocations: 215 kB / 0.7042 GB, free: 3.105 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.00866, allocations: 33.7 kB / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.008719, allocations: 132.5 kB / 0.7044 GB, free: 2.934 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.008752, allocations: 75.41 kB / 0.7044 GB, free: 2.859 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.008802, allocations: 49.7 kB / 0.7045 GB, free: 2.805 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.008844, allocations: 338.8 kB / 0.7048 GB, free: 2.465 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.008969, allocations: 141 kB / 0.705 GB, free: 2.309 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.009112, allocations: 229.3 kB / 0.7052 GB, free: 2.039 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.009335, allocations: 280.8 kB / 0.7054 GB, free: 1.723 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009337, allocations: 0 / 0.7054 GB, free: 1.723 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003166/0.009654, allocations: 398.2 kB / 0.7058 GB, free: 1.305 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.009683, allocations: 55.41 kB / 0.7059 GB, free: 1.238 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.009688, allocations: 4 kB / 0.7059 GB, free: 1.234 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.009703, allocations: 7.984 kB / 0.7059 GB, free: 1.227 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.009815, allocations: 55.84 kB / 0.7059 GB, free: 1.172 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.009821, allocations: 4.219 kB / 0.7059 GB, free: 1.168 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.009905, allocations: 19.98 kB / 0.706 GB, free: 1.148 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.009918, allocations: 8 kB / 0.706 GB, free: 1.141 MB / 410.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.01004, allocations: 180.3 kB / 0.7061 GB, free: 0.9492 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.01006, allocations: 19.91 kB / 0.7062 GB, free: 0.9297 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.01009, allocations: 21.95 kB / 0.7062 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.0101, allocations: 7.938 kB / 0.7062 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.0101, allocations: 3.938 kB / 0.7062 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01011, allocations: 4 kB / 0.7062 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.01059, allocations: 0.5391 MB / 0.7067 GB, free: 312 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01059, allocations: 0 / 0.7067 GB, free: 312 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.0107, allocations: 39.97 kB / 0.7068 GB, free: 272 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01071, allocations: 0 / 0.7068 GB, free: 272 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.01072, allocations: 4 kB / 0.7068 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01072, allocations: 0 / 0.7068 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.01073, allocations: 0 / 0.7068 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.01134, allocations: 0.5045 MB / 0.7073 GB, free: 15.72 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.01138, allocations: 19.89 kB / 0.7073 GB, free: 15.7 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.01142, allocations: 8 kB / 0.7073 GB, free: 15.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.01155, allocations: 15.98 kB / 0.7073 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/0.01164, allocations: 19.97 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.01166, allocations: 8 kB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000145/0.0118, allocations: 160.4 kB / 0.7075 GB, free: 15.5 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0118, allocations: 0 / 0.7075 GB, free: 15.5 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003149/0.01212, allocations: 60 kB / 0.7075 GB, free: 15.44 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 0.0001429/0.01226, allocations: 116.5 kB / 0.7076 GB, free: 15.32 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005509/0.01281, allocations: 386 kB / 0.708 GB, free: 14.9 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01281, allocations: 0 / 0.708 GB, free: 14.9 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.01304, allocations: 165.4 kB / 0.7082 GB, free: 14.72 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.01341, allocations: 66.89 kB / 0.7082 GB, free: 14.66 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.01425, allocations: 0.6096 MB / 0.7088 GB, free: 14.01 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.535e-05/0.01434, allocations: 125.6 kB / 0.7089 GB, free: 13.87 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.01439, allocations: 24.5 kB / 0.709 GB, free: 13.84 MB / 426.8 MB Notification: Performance of SimCode: time 7.01e-07/0.01439, allocations: 0 / 0.709 GB, free: 13.84 MB / 426.8 MB Notification: Performance of Templates: time 0.003951/0.01834, allocations: 2.939 MB / 0.7118 GB, free: 10.93 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.61904900893569]