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.001995/0.001995, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002166/0.002166, allocations: 214.4 kB / 22.25 MB, free: 3.582 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.777/1.777, allocations: 230.6 MB / 256 MB, free: 9.617 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.51/1.51, allocations: 316.7 MB / 0.6144 GB, free: 93.51 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.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.004162/0.004162, allocations: 73.34 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1991, allocations: 73.99 MB / 0.8472 GB, free: 5.156 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference): time 0.004735/0.2039, allocations: 2.304 MB / 0.8495 GB, free: 2.852 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2052, allocations: 0.5838 MB / 0.85 GB, free: 2.273 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2053, allocations: 4 kB / 0.85 GB, free: 2.27 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.2055, allocations: 28.3 kB / 0.8501 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.2057, allocations: 76.69 kB / 0.8501 GB, free: 2.168 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.206, allocations: 56.47 kB / 0.8502 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.2063, allocations: 258.8 kB / 0.8504 GB, free: 1.859 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.2065, allocations: 33.11 kB / 0.8505 GB, free: 1.828 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.2066, allocations: 97.44 kB / 0.8506 GB, free: 1.734 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.2069, allocations: 99.47 kB / 0.8507 GB, free: 1.637 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.2069, allocations: 16 kB / 0.8507 GB, free: 1.621 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.537e-05/0.207, allocations: 16 kB / 0.8507 GB, free: 1.605 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.207, allocations: 39.84 kB / 0.8507 GB, free: 1.566 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2072, allocations: 93.95 kB / 0.8508 GB, free: 1.477 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.2075, allocations: 195.2 kB / 0.851 GB, free: 1.285 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2075, allocations: 4 kB / 0.851 GB, free: 1.281 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2075, allocations: 0 / 0.851 GB, free: 1.281 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2075, allocations: 0 / 0.851 GB, free: 1.281 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.001111/0.2086, allocations: 498.3 kB / 0.8515 GB, free: 0.75 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2087, allocations: 12.03 kB / 0.8515 GB, free: 0.7383 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.2087, allocations: 22.92 kB / 0.8515 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.2091, allocations: 191.1 kB / 0.8517 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2091, allocations: 8.609 kB / 0.8517 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.2091, allocations: 19.89 kB / 0.8517 GB, free: 488 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.2095, allocations: 193.9 kB / 0.8519 GB, free: 280 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.2096, allocations: 0.7188 kB / 0.8519 GB, free: 280 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.2096, allocations: 4 kB / 0.8519 GB, free: 276 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2096, allocations: 5.094 kB / 0.8519 GB, free: 272 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.21, allocations: 150.7 kB / 0.8521 GB, free: 116 kB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009464/0.2109, allocations: 486.7 kB / 0.8525 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.2115, allocations: 177.2 kB / 0.8527 GB, free: 15.42 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.2117, allocations: 95.17 kB / 0.8528 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.2117, allocations: 0.5938 kB / 0.8528 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/0.2121, allocations: 235.4 kB / 0.853 GB, free: 15.06 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.2121, allocations: 0.625 kB / 0.853 GB, free: 15.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00171/0.2139, allocations: 0.6977 MB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.214, allocations: 136.5 kB / 0.8538 GB, free: 14.14 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.2142, allocations: 215 kB / 0.854 GB, free: 13.92 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.2143, allocations: 33.7 kB / 0.8541 GB, free: 13.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.2144, allocations: 133.4 kB / 0.8542 GB, free: 13.75 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.405e-05/0.2145, allocations: 75.42 kB / 0.8543 GB, free: 13.67 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.2146, allocations: 53.66 kB / 0.8543 GB, free: 13.61 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2148, allocations: 340.8 kB / 0.8546 GB, free: 13.27 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.215, allocations: 145 kB / 0.8548 GB, free: 13.11 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.2154, allocations: 221.3 kB / 0.855 GB, free: 12.85 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.2159, allocations: 271.2 kB / 0.8552 GB, free: 12.55 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2159, allocations: 4 kB / 0.8552 GB, free: 12.54 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.3023/0.5182, allocations: 395.8 kB / 0.8556 GB, free: 28.28 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.5183, allocations: 65.69 kB / 0.8557 GB, free: 28.22 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5183, allocations: 0.5312 kB / 0.8557 GB, free: 28.22 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.5183, allocations: 5.281 kB / 0.8557 GB, free: 28.22 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.5186, allocations: 51.73 kB / 0.8557 GB, free: 28.22 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5186, allocations: 6 kB / 0.8558 GB, free: 28.22 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.5188, allocations: 21.22 kB / 0.8558 GB, free: 28.22 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.5188, allocations: 9.625 kB / 0.8558 GB, free: 28.22 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.0002203/0.5191, allocations: 174.7 kB / 0.8559 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.5191, allocations: 26.5 kB / 0.856 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.5192, allocations: 23.16 kB / 0.856 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5192, allocations: 1.875 kB / 0.856 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.5192, allocations: 1.812 kB / 0.856 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.5192, allocations: 2.375 kB / 0.856 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.52, allocations: 0.5376 MB / 0.8565 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.52, allocations: 0 / 0.8565 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.5202, allocations: 38.8 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.5202, allocations: 1.156 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.5202, allocations: 5.406 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5202, allocations: 0.5625 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5202, allocations: 2.062 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.5209, allocations: 0.4951 MB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.521, allocations: 24.61 kB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.521, allocations: 16.47 kB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.5212, allocations: 12.69 kB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.5213, allocations: 21.77 kB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.5213, allocations: 6.406 kB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001216/0.5214, allocations: 159.5 kB / 0.8573 GB, free: 27.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5214, allocations: 1.312 kB / 0.8573 GB, free: 27.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002909/0.5217, allocations: 52.62 kB / 0.8573 GB, free: 27.46 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.829e-05/0.5218, allocations: 119 kB / 0.8574 GB, free: 27.38 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.5223, allocations: 379.6 kB / 0.8578 GB, free: 27.16 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5223, allocations: 0.5 kB / 0.8578 GB, free: 27.16 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.5225, allocations: 176.7 kB / 0.858 GB, free: 27.06 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.5229, allocations: 66.45 kB / 0.858 GB, free: 27.06 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.524, allocations: 0.6773 MB / 0.8587 GB, free: 26.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.522e-05/0.5241, allocations: 123.4 kB / 0.8588 GB, free: 26.71 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.5242, allocations: 28.92 kB / 0.8589 GB, free: 26.71 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.5243, allocations: 19.75 kB / 0.8589 GB, free: 26.7 MB / 490.8 MB Notification: Performance of SimCode: time 5.91e-07/0.5243, allocations: 0.625 kB / 0.8589 GB, free: 26.7 MB / 490.8 MB Notification: Performance of Templates: time 0.00776/0.532, allocations: 3.645 MB / 0.8624 GB, free: 26.42 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Li2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.765792903024703]