Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.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.002115/0.002115, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002262/0.002262, allocations: 218.2 kB / 22.25 MB, free: 3.688 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.683/1.683, allocations: 230.6 MB / 256 MB, free: 9.578 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.393/1.393, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban") [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.008045/0.008045, allocations: 73.95 kB / 0.775 GB, free: 14.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1611, allocations: 74 MB / 0.8473 GB, free: 4.766 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban): time 0.005007/0.1661, allocations: 2.719 MB / 0.8499 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2976/0.4637, allocations: 6.596 MB / 0.8564 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.4639, allocations: 4.906 kB / 0.8564 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.464, allocations: 38.66 kB / 0.8564 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.4643, allocations: 117.5 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.4645, allocations: 76 kB / 0.8566 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.4649, allocations: 373.5 kB / 0.857 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.465, allocations: 53.06 kB / 0.857 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.4652, allocations: 149.4 kB / 0.8572 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.4654, allocations: 139.5 kB / 0.8573 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.4655, allocations: 24.5 kB / 0.8573 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.883e-05/0.4655, allocations: 24.34 kB / 0.8573 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.4656, allocations: 53.7 kB / 0.8574 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.4657, allocations: 141 kB / 0.8575 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.466, allocations: 287.8 kB / 0.8578 GB, free: 21.71 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.466, allocations: 0 / 0.8578 GB, free: 21.71 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.252e-06/0.466, allocations: 0 / 0.8578 GB, free: 21.71 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.466, allocations: 0.8438 kB / 0.8578 GB, free: 21.71 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009126/0.4669, allocations: 0.6012 MB / 0.8584 GB, free: 21.25 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.4669, allocations: 9.281 kB / 0.8584 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.467, allocations: 31.84 kB / 0.8584 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.4673, allocations: 214.2 kB / 0.8586 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.4673, allocations: 14.72 kB / 0.8586 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.4674, allocations: 28.16 kB / 0.8587 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.4678, allocations: 282.5 kB / 0.8589 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.4678, allocations: 5.203 kB / 0.8589 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.4679, allocations: 14.88 kB / 0.859 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.4679, allocations: 4.844 kB / 0.859 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.4683, allocations: 236.8 kB / 0.8592 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009975/0.4693, allocations: 0.6792 MB / 0.8599 GB, free: 20.53 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.4698, allocations: 232.4 kB / 0.8601 GB, free: 20.44 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.47, allocations: 150.7 kB / 0.8602 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.47, allocations: 4.375 kB / 0.8602 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.4704, allocations: 359.7 kB / 0.8606 GB, free: 20.12 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.4704, allocations: 0 / 0.8606 GB, free: 20.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001707/0.4721, allocations: 1.077 MB / 0.8616 GB, free: 19.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.4721, allocations: 223.7 kB / 0.8618 GB, free: 19.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.4723, allocations: 247.4 kB / 0.8621 GB, free: 19.23 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.4724, allocations: 34.45 kB / 0.8621 GB, free: 19.2 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.4724, allocations: 158.8 kB / 0.8623 GB, free: 19.09 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.4725, allocations: 116.2 kB / 0.8624 GB, free: 19.02 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.4726, allocations: 71.48 kB / 0.8624 GB, free: 19 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.4726, allocations: 343.8 kB / 0.8628 GB, free: 18.69 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.4729, allocations: 211.3 kB / 0.863 GB, free: 18.59 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.4732, allocations: 317.5 kB / 0.8633 GB, free: 18.35 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.4737, allocations: 430.3 kB / 0.8637 GB, free: 18.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4737, allocations: 1.094 kB / 0.8637 GB, free: 18.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008055/0.4745, allocations: 0.5488 MB / 0.8642 GB, free: 17.83 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.4746, allocations: 93 kB / 0.8643 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4746, allocations: 3.688 kB / 0.8643 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.4746, allocations: 6.125 kB / 0.8643 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.4749, allocations: 80.41 kB / 0.8644 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/0.4749, allocations: 7.641 kB / 0.8644 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.4752, allocations: 24.97 kB / 0.8644 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.4752, allocations: 17.83 kB / 0.8644 GB, free: 17.72 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.000209/0.4754, allocations: 222.6 kB / 0.8646 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.4755, allocations: 32.31 kB / 0.8647 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.4755, allocations: 30.31 kB / 0.8647 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4755, allocations: 3.625 kB / 0.8647 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4755, allocations: 1.359 kB / 0.8647 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4755, allocations: 13.55 kB / 0.8647 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.4766, allocations: 0.7667 MB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4766, allocations: 0.7031 kB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.4768, allocations: 51.34 kB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4768, allocations: 5.328 kB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.4769, allocations: 14.27 kB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4769, allocations: 1.922 kB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4769, allocations: 0.6875 kB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.4778, allocations: 0.7223 MB / 0.8662 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.4779, allocations: 27.19 kB / 0.8663 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.478, allocations: 16.95 kB / 0.8663 GB, free: 16.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.4781, allocations: 20.66 kB / 0.8663 GB, free: 16.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4783, allocations: 29.56 kB / 0.8663 GB, free: 16.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.4783, allocations: 14.64 kB / 0.8663 GB, free: 16.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001735/0.4785, allocations: 177.5 kB / 0.8665 GB, free: 16.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4785, allocations: 1.594 kB / 0.8665 GB, free: 16.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003612/0.4788, allocations: 85.34 kB / 0.8666 GB, free: 16.68 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.000139/0.479, allocations: 120.9 kB / 0.8667 GB, free: 16.59 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007319/0.4797, allocations: 0.5709 MB / 0.8673 GB, free: 16.23 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4797, allocations: 0 / 0.8673 GB, free: 16.23 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.48, allocations: 298.3 kB / 0.8676 GB, free: 16.04 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.4805, allocations: 97.23 kB / 0.8677 GB, free: 16.03 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.4821, allocations: 0.9369 MB / 0.8686 GB, free: 15.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.4822, allocations: 159 kB / 0.8687 GB, free: 15.46 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.4823, allocations: 34.08 kB / 0.8688 GB, free: 15.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.4824, allocations: 27.98 kB / 0.8688 GB, free: 15.45 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.4824, allocations: 0 / 0.8688 GB, free: 15.45 MB / 490.8 MB Notification: Performance of Templates: time 0.009918/0.4923, allocations: 4.999 MB / 0.8737 GB, free: 14.94 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.677148350980133]