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.001013/0.001013, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.001014/0.001014, allocations: 221.3 kB / 23.01 MB, free: 2.941 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 0.9074/0.9074, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.6915/0.6915, allocations: 312.3 MB / 0.6108 GB, free: 97.55 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: 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.001418/0.001418, allocations: 74.72 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 73.99 MB / 0.8421 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference): time 0.002533/0.1198, allocations: 2.296 MB / 0.8444 GB, free: 8.035 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007963/0.1206, allocations: 0.587 MB / 0.8449 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.689e-05/0.1207, allocations: 0.5938 kB / 0.8449 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.1208, allocations: 28.41 kB / 0.845 GB, free: 7.426 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.121, allocations: 76.11 kB / 0.845 GB, free: 7.352 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.1212, allocations: 52.56 kB / 0.8451 GB, free: 7.301 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1214, allocations: 258.7 kB / 0.8453 GB, free: 7.047 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1215, allocations: 37.19 kB / 0.8454 GB, free: 7.012 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1216, allocations: 92.38 kB / 0.8454 GB, free: 6.922 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1218, allocations: 103.5 kB / 0.8455 GB, free: 6.82 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1218, allocations: 16.66 kB / 0.8456 GB, free: 6.805 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.574e-05/0.1218, allocations: 16.59 kB / 0.8456 GB, free: 6.789 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.1219, allocations: 35.84 kB / 0.8456 GB, free: 6.754 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.683e-05/0.1219, allocations: 96.16 kB / 0.8457 GB, free: 6.66 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1221, allocations: 195.2 kB / 0.8459 GB, free: 6.469 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1221, allocations: 0.5625 kB / 0.8459 GB, free: 6.469 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1221, allocations: 0.625 kB / 0.8459 GB, free: 6.469 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1221, allocations: 0 / 0.8459 GB, free: 6.469 MB / 474.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.0006596/0.1228, allocations: 0.4907 MB / 0.8464 GB, free: 5.934 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1228, allocations: 8.75 kB / 0.8464 GB, free: 5.926 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1229, allocations: 24.8 kB / 0.8464 GB, free: 5.902 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1231, allocations: 191.8 kB / 0.8466 GB, free: 5.688 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1231, allocations: 12.61 kB / 0.8466 GB, free: 5.676 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.1231, allocations: 24.33 kB / 0.8466 GB, free: 5.652 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.1234, allocations: 191 kB / 0.8468 GB, free: 5.449 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1234, allocations: 4.562 kB / 0.8468 GB, free: 5.445 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1234, allocations: 4 kB / 0.8468 GB, free: 5.441 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1234, allocations: 4.562 kB / 0.8468 GB, free: 5.438 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.1236, allocations: 147.2 kB / 0.847 GB, free: 5.289 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.1242, allocations: 482.8 kB / 0.8474 GB, free: 4.785 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.1245, allocations: 173.4 kB / 0.8476 GB, free: 4.602 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1246, allocations: 99.05 kB / 0.8477 GB, free: 4.496 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.1246, allocations: 0.5625 kB / 0.8477 GB, free: 4.496 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.1248, allocations: 233.5 kB / 0.8479 GB, free: 4.238 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.1248, allocations: 0 / 0.8479 GB, free: 4.238 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009375/0.1258, allocations: 0.6996 MB / 0.8486 GB, free: 3.48 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1258, allocations: 137.4 kB / 0.8487 GB, free: 3.316 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.126, allocations: 218.9 kB / 0.8489 GB, free: 3.094 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.126, allocations: 30.2 kB / 0.849 GB, free: 3.059 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.1261, allocations: 137 kB / 0.8491 GB, free: 2.922 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.1261, allocations: 71.42 kB / 0.8492 GB, free: 2.852 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.1262, allocations: 54.41 kB / 0.8492 GB, free: 2.793 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.1262, allocations: 342.8 kB / 0.8495 GB, free: 2.449 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1264, allocations: 142.1 kB / 0.8497 GB, free: 2.293 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1265, allocations: 224.4 kB / 0.8499 GB, free: 2.031 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.1268, allocations: 277.8 kB / 0.8501 GB, free: 1.723 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1268, allocations: 0 / 0.8501 GB, free: 1.723 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003511/0.1271, allocations: 398.5 kB / 0.8505 GB, free: 1.305 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.1272, allocations: 67.33 kB / 0.8506 GB, free: 1.227 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1272, allocations: 0.5312 kB / 0.8506 GB, free: 1.227 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1272, allocations: 4.5 kB / 0.8506 GB, free: 1.223 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1273, allocations: 52.53 kB / 0.8506 GB, free: 1.172 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1273, allocations: 4.625 kB / 0.8506 GB, free: 1.168 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.1274, allocations: 20.58 kB / 0.8507 GB, free: 1.148 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1274, allocations: 8 kB / 0.8507 GB, free: 1.141 MB / 474.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.0001538/0.1276, allocations: 177 kB / 0.8508 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.1276, allocations: 28.52 kB / 0.8509 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.1276, allocations: 25.95 kB / 0.8509 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1276, allocations: 0.5 kB / 0.8509 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1276, allocations: 0.625 kB / 0.8509 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1276, allocations: 0 / 0.8509 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.1281, allocations: 0.5405 MB / 0.8514 GB, free: 316 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1281, allocations: 0.5938 kB / 0.8514 GB, free: 316 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1282, allocations: 40.53 kB / 0.8515 GB, free: 276 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1282, allocations: 3.984 kB / 0.8515 GB, free: 272 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1282, allocations: 12.47 kB / 0.8515 GB, free: 260 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1282, allocations: 8.609 kB / 0.8515 GB, free: 252 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1282, allocations: 3.984 kB / 0.8515 GB, free: 248 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.1287, allocations: 494.4 kB / 0.852 GB, free: 15.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.1287, allocations: 23.89 kB / 0.852 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.1287, allocations: 4.625 kB / 0.852 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.1288, allocations: 20.61 kB / 0.852 GB, free: 15.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.1289, allocations: 20.56 kB / 0.852 GB, free: 15.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.1289, allocations: 11.98 kB / 0.852 GB, free: 15.65 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.819e-05/0.129, allocations: 157 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.129, allocations: 0.5312 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001863/0.1292, allocations: 63.88 kB / 0.8523 GB, free: 15.43 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.248e-05/0.1293, allocations: 120.5 kB / 0.8524 GB, free: 15.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.1296, allocations: 373.3 kB / 0.8527 GB, free: 14.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1296, allocations: 0.625 kB / 0.8527 GB, free: 14.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1297, allocations: 173.8 kB / 0.8529 GB, free: 14.71 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.13, allocations: 61.91 kB / 0.8529 GB, free: 14.66 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.1309, allocations: 0.7007 MB / 0.8536 GB, free: 14.02 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.131, allocations: 129.6 kB / 0.8538 GB, free: 13.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.131, allocations: 23.44 kB / 0.8538 GB, free: 13.85 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/0.131, allocations: 0 / 0.8538 GB, free: 13.85 MB / 490.8 MB Notification: Performance of Templates: time 0.2242/0.3552, allocations: 2.931 MB / 0.8566 GB, free: 29.75 MB / 490.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.940314342267811]