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.0009464/0.0009464, allocations: 104.4 kB / 19.71 MB, free: 436 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.001361/0.001361, allocations: 215.5 kB / 23.01 MB, free: 2.957 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.033/1.033, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7237/0.7237, allocations: 312.3 MB / 0.6108 GB, free: 97.57 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.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.001724/0.001724, allocations: 78.69 kB / 0.7699 GB, free: 20.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1281, allocations: 73.98 MB / 0.8421 GB, free: 10.35 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference): time 0.00266/0.1307, allocations: 2.301 MB / 0.8444 GB, free: 8.051 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005289/0.136, allocations: 6.525 MB / 0.8507 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1362, allocations: 0 / 0.8507 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.1363, allocations: 28.34 kB / 0.8508 GB, free: 1.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1365, allocations: 84.52 kB / 0.8508 GB, free: 1.414 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.1367, allocations: 52.47 kB / 0.8509 GB, free: 1.363 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.137, allocations: 254.7 kB / 0.8511 GB, free: 1.113 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1371, allocations: 41.19 kB / 0.8512 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1372, allocations: 92.12 kB / 0.8513 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1374, allocations: 100.1 kB / 0.8514 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.1374, allocations: 20 kB / 0.8514 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.679e-05/0.1375, allocations: 16.5 kB / 0.8514 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.1375, allocations: 36.34 kB / 0.8514 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.794e-05/0.1376, allocations: 91.53 kB / 0.8515 GB, free: 0.7266 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1378, allocations: 199.8 kB / 0.8517 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1378, allocations: 0.5 kB / 0.8517 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1378, allocations: 4.5 kB / 0.8517 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1378, allocations: 0 / 0.8517 GB, free: 0.5273 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.0006717/0.1385, allocations: 0.4908 MB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1385, allocations: 8.531 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.1386, allocations: 25.36 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1388, allocations: 187.1 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1388, allocations: 13.2 kB / 0.8524 GB, free: 15.74 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1388, allocations: 19.89 kB / 0.8524 GB, free: 15.72 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1391, allocations: 187.7 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1391, allocations: 4 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1391, allocations: 4.75 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1391, allocations: 4 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.1393, allocations: 147.3 kB / 0.8528 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.1398, allocations: 486.7 kB / 0.8532 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.1402, allocations: 173.4 kB / 0.8534 GB, free: 14.67 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1403, allocations: 99.08 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.1403, allocations: 4.688 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.1405, allocations: 221 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.1405, allocations: 0.625 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001212/0.1417, allocations: 0.7046 MB / 0.8544 GB, free: 13.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.1418, allocations: 141 kB / 0.8545 GB, free: 13.38 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1419, allocations: 215.6 kB / 0.8547 GB, free: 13.16 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.142, allocations: 33.7 kB / 0.8548 GB, free: 13.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.142, allocations: 133.1 kB / 0.8549 GB, free: 12.99 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1421, allocations: 68.02 kB / 0.855 GB, free: 12.92 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.1421, allocations: 57.66 kB / 0.855 GB, free: 12.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.1422, allocations: 339.3 kB / 0.8553 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1423, allocations: 145.5 kB / 0.8555 GB, free: 12.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1425, allocations: 225.8 kB / 0.8557 GB, free: 12.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.26/0.4024, allocations: 281 kB / 0.856 GB, free: 30.31 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4024, allocations: 0.5312 kB / 0.856 GB, free: 30.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000451/0.4029, allocations: 388.8 kB / 0.8563 GB, free: 30.15 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.4029, allocations: 69.58 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4029, allocations: 3.781 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.403, allocations: 2.969 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4031, allocations: 52.58 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4031, allocations: 2.734 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.4032, allocations: 21.97 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4033, allocations: 8.406 kB / 0.8565 GB, free: 30.09 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.0001779/0.4034, allocations: 174.5 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.4035, allocations: 27.08 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.4035, allocations: 21.28 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4035, allocations: 6.469 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4035, allocations: 0 / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4035, allocations: 0.6562 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.404, allocations: 0.5419 MB / 0.8572 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.404, allocations: 0.7656 kB / 0.8572 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.4041, allocations: 41.73 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4041, allocations: 1.266 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4041, allocations: 2.766 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4042, allocations: 4.562 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4042, allocations: 2.406 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.4046, allocations: 0.4935 MB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.4046, allocations: 21.25 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4046, allocations: 7.812 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.4047, allocations: 14.22 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.4048, allocations: 21.25 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.4048, allocations: 7.672 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.718e-05/0.4049, allocations: 160.5 kB / 0.858 GB, free: 29.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4049, allocations: 4.359 kB / 0.858 GB, free: 29.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002012/0.4051, allocations: 53.16 kB / 0.858 GB, free: 29.34 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 0.0001089/0.4052, allocations: 118.1 kB / 0.8582 GB, free: 29.25 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.4055, allocations: 381 kB / 0.8585 GB, free: 29.03 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4055, allocations: 0 / 0.8585 GB, free: 29.03 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4057, allocations: 170.6 kB / 0.8587 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.406, allocations: 73.23 kB / 0.8588 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.4069, allocations: 0.697 MB / 0.8594 GB, free: 28.63 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.013e-05/0.407, allocations: 124.3 kB / 0.8596 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.407, allocations: 26.34 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of SimCode: time 8.41e-07/0.407, allocations: 6.531 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of Templates: time 0.004566/0.4116, allocations: 2.947 MB / 0.8625 GB, free: 28.33 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat_ZamekGliszczynski2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.045553361065686]