Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_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.001827/0.001827, allocations: 105.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.001947/0.001947, allocations: 219.6 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.664/1.664, allocations: 230.6 MB / 256 MB, free: 9.602 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.456/1.456, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_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.006456/0.006456, allocations: 81.72 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1561, allocations: 73.99 MB / 0.8472 GB, free: 4.855 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference): time 0.004522/0.1606, allocations: 2.299 MB / 0.8495 GB, free: 2.559 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3302/0.4908, allocations: 6.518 MB / 0.8558 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.491, allocations: 0.5312 kB / 0.8558 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.4911, allocations: 29.34 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.4914, allocations: 80.39 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.4916, allocations: 58.38 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.4918, allocations: 255.5 kB / 0.8562 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.492, allocations: 37.55 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4921, allocations: 99.31 kB / 0.8564 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.4923, allocations: 98.3 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.4924, allocations: 17.06 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.731e-05/0.4924, allocations: 17.22 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.4924, allocations: 36.81 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.4925, allocations: 92.41 kB / 0.8566 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.4927, allocations: 203.4 kB / 0.8568 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4927, allocations: 0 / 0.8568 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4927, allocations: 0.75 kB / 0.8568 GB, free: 21.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.4927, allocations: 0 / 0.8568 GB, free: 21.81 MB / 490.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.0007786/0.4935, allocations: 494.7 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.4935, allocations: 9.188 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.4936, allocations: 26.42 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.4938, allocations: 186 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4938, allocations: 7.422 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.4939, allocations: 24.67 kB / 0.8575 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.4942, allocations: 188 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4942, allocations: 1.719 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.4942, allocations: 8.875 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4943, allocations: 3.594 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.4946, allocations: 145 kB / 0.8579 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.4955, allocations: 490.9 kB / 0.8583 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.4961, allocations: 171.4 kB / 0.8585 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.4963, allocations: 93.55 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.4963, allocations: 4.812 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.4966, allocations: 229.9 kB / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.4966, allocations: 0 / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00129/0.4979, allocations: 0.6961 MB / 0.8595 GB, free: 20.23 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.498, allocations: 139.9 kB / 0.8596 GB, free: 20.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.4981, allocations: 214.4 kB / 0.8598 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.4982, allocations: 33.11 kB / 0.8598 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.4982, allocations: 134.7 kB / 0.86 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.4983, allocations: 76.89 kB / 0.86 GB, free: 19.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.4983, allocations: 54.59 kB / 0.8601 GB, free: 19.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.4984, allocations: 335.9 kB / 0.8604 GB, free: 19.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.4986, allocations: 148.9 kB / 0.8606 GB, free: 19.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.4988, allocations: 221.8 kB / 0.8608 GB, free: 19.22 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.4992, allocations: 278.3 kB / 0.861 GB, free: 19.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4992, allocations: 3.938 kB / 0.861 GB, free: 19.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005017/0.4997, allocations: 387.6 kB / 0.8614 GB, free: 18.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.4997, allocations: 63.89 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4997, allocations: 8.328 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4997, allocations: 3.5 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.4999, allocations: 56.31 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.4999, allocations: 6.094 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.5001, allocations: 18.31 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.5001, allocations: 15.11 kB / 0.8616 GB, free: 18.8 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.0001476/0.5003, allocations: 179.9 kB / 0.8617 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.5003, allocations: 21.7 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.5003, allocations: 25.91 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5004, allocations: 6 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5004, allocations: 0 / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5004, allocations: 5.438 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.501, allocations: 0.5397 MB / 0.8623 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.501, allocations: 0.625 kB / 0.8623 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.5012, allocations: 37.12 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5012, allocations: 1.938 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.5012, allocations: 9.969 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5012, allocations: 3.938 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5012, allocations: 0.5312 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.5018, allocations: 498.4 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.5018, allocations: 21.2 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.5019, allocations: 10.23 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.502, allocations: 17.94 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.5021, allocations: 21.39 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.5021, allocations: 5.891 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001173/0.5022, allocations: 161.1 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5022, allocations: 3.938 kB / 0.8631 GB, free: 17.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002848/0.5025, allocations: 54.67 kB / 0.8631 GB, free: 17.97 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.297e-05/0.5026, allocations: 111.7 kB / 0.8632 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004883/0.5031, allocations: 382.6 kB / 0.8636 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5031, allocations: 0 / 0.8636 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.5033, allocations: 172.6 kB / 0.8638 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.5038, allocations: 67.09 kB / 0.8638 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.5049, allocations: 0.6841 MB / 0.8645 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.929e-05/0.505, allocations: 130.3 kB / 0.8646 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.919e-05/0.5051, allocations: 28.55 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.5051, allocations: 20.14 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of SimCode: time 3.9e-07/0.5051, allocations: 0 / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of Templates: time 0.007868/0.513, allocations: 3.646 MB / 0.8682 GB, free: 16.82 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.475477152969688]