Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat.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.001893/0.001893, 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.002084/0.002084, allocations: 215.6 kB / 22.25 MB, free: 3.578 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.64/1.64, 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.475/1.475, allocations: 316.7 MB / 0.6144 GB, free: 93.52 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat") [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.003842/0.003842, allocations: 69.67 kB / 0.775 GB, free: 14.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1481, allocations: 73.98 MB / 0.8472 GB, free: 5.074 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat): time 0.003955/0.1521, allocations: 2.311 MB / 0.8495 GB, free: 2.766 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2939/0.446, allocations: 6.52 MB / 0.8559 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.4462, allocations: 3.188 kB / 0.8559 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.4463, allocations: 29.05 kB / 0.8559 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.4466, allocations: 80.59 kB / 0.856 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.4468, allocations: 53.34 kB / 0.856 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.447, allocations: 259 kB / 0.8563 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.4472, allocations: 36.47 kB / 0.8563 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.4473, allocations: 97.41 kB / 0.8564 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.4475, allocations: 101.3 kB / 0.8565 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.4475, allocations: 14.81 kB / 0.8565 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.4476, allocations: 17.28 kB / 0.8565 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.4476, allocations: 40.55 kB / 0.8566 GB, free: 21.51 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.4477, allocations: 94.06 kB / 0.8566 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.4479, allocations: 197 kB / 0.8568 GB, free: 21.45 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4479, allocations: 0 / 0.8568 GB, free: 21.45 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4479, allocations: 0.7188 kB / 0.8568 GB, free: 21.45 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4479, allocations: 0 / 0.8568 GB, free: 21.45 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.0007667/0.4487, allocations: 0.4918 MB / 0.8573 GB, free: 21.05 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4487, allocations: 9.312 kB / 0.8573 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.4488, allocations: 23.42 kB / 0.8573 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.449, allocations: 186.2 kB / 0.8575 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.449, allocations: 11.11 kB / 0.8575 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.449, allocations: 24.7 kB / 0.8576 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.4494, allocations: 189.4 kB / 0.8577 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4494, allocations: 4.969 kB / 0.8577 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.4494, allocations: 2.938 kB / 0.8577 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4494, allocations: 2.094 kB / 0.8577 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.4497, allocations: 150.5 kB / 0.8579 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.4504, allocations: 483.4 kB / 0.8584 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.4509, allocations: 172.2 kB / 0.8585 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.4511, allocations: 96.22 kB / 0.8586 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.4511, allocations: 2.062 kB / 0.8586 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.4514, allocations: 228.7 kB / 0.8588 GB, free: 20.22 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.4514, allocations: 0.75 kB / 0.8588 GB, free: 20.22 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001308/0.4527, allocations: 0.6999 MB / 0.8595 GB, free: 19.87 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.4527, allocations: 134 kB / 0.8596 GB, free: 19.71 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4529, allocations: 222.7 kB / 0.8599 GB, free: 19.61 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.4529, allocations: 32.2 kB / 0.8599 GB, free: 19.57 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.453, allocations: 132.2 kB / 0.86 GB, free: 19.48 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.453, allocations: 70.27 kB / 0.8601 GB, free: 19.44 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.4531, allocations: 54.66 kB / 0.8601 GB, free: 19.42 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.4532, allocations: 343.5 kB / 0.8605 GB, free: 19.1 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.4534, allocations: 140.9 kB / 0.8606 GB, free: 19.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.4536, allocations: 227 kB / 0.8608 GB, free: 18.86 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.454, allocations: 279 kB / 0.8611 GB, free: 18.69 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.454, allocations: 2.125 kB / 0.8611 GB, free: 18.69 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005475/0.4546, allocations: 389.3 kB / 0.8614 GB, free: 18.51 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.4546, allocations: 65.55 kB / 0.8615 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4546, allocations: 7.688 kB / 0.8615 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4546, allocations: 5.656 kB / 0.8615 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.4548, allocations: 49.61 kB / 0.8616 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4549, allocations: 3.906 kB / 0.8616 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.455, allocations: 17.91 kB / 0.8616 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.455, allocations: 11.91 kB / 0.8616 GB, free: 18.44 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.0001768/0.4552, allocations: 180.4 kB / 0.8618 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.4552, allocations: 21.48 kB / 0.8618 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.4553, allocations: 31.84 kB / 0.8618 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4553, allocations: 3.094 kB / 0.8618 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4553, allocations: 0.5 kB / 0.8618 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4553, allocations: 0 / 0.8618 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.456, allocations: 0.5426 MB / 0.8624 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.456, allocations: 4.562 kB / 0.8624 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.4561, allocations: 38.06 kB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4561, allocations: 2 kB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.4562, allocations: 9.422 kB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4562, allocations: 4.5 kB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4562, allocations: 0.5 kB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.4568, allocations: 498.5 kB / 0.8629 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.4568, allocations: 26.58 kB / 0.8629 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.4569, allocations: 6.906 kB / 0.8629 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.457, allocations: 16.28 kB / 0.8629 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.4571, allocations: 24.66 kB / 0.863 GB, free: 17.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.4571, allocations: 5.578 kB / 0.863 GB, free: 17.69 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001151/0.4573, allocations: 161.8 kB / 0.8631 GB, free: 17.61 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4573, allocations: 0.625 kB / 0.8631 GB, free: 17.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002881/0.4575, allocations: 60.12 kB / 0.8632 GB, free: 17.61 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.0001156/0.4577, allocations: 115.3 kB / 0.8633 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.4582, allocations: 382.8 kB / 0.8637 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4582, allocations: 1.094 kB / 0.8637 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.4585, allocations: 171.1 kB / 0.8638 GB, free: 17.19 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.459, allocations: 70.98 kB / 0.8639 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.4604, allocations: 0.6809 MB / 0.8646 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.4605, allocations: 123.7 kB / 0.8647 GB, free: 16.79 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.4606, allocations: 29.5 kB / 0.8647 GB, free: 16.79 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.4607, allocations: 20.62 kB / 0.8647 GB, free: 16.78 MB / 490.8 MB Notification: Performance of SimCode: time 8.32e-07/0.4607, allocations: 0 / 0.8647 GB, free: 16.78 MB / 490.8 MB Notification: Performance of Templates: time 0.008355/0.4691, allocations: 3.63 MB / 0.8683 GB, free: 16.46 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A05A_BileTherapy.A05AX08_Linerixibat.Linerixibat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.702998505905271]