Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.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.0006944/0.0006944, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009097/0.001604, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000692/0.000692, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008753/0.001567, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08992/1.108, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.7606/0.7606, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04595/0.8065, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.106e-06/9.088e-06, allocations: 2.312 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii): time 0.001967/0.001976, allocations: 2.499 MB / 0.547 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005915/0.002567, allocations: 0.627 MB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.002626, allocations: 0 / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.996e-05/0.002676, allocations: 27.72 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.002779, allocations: 91.25 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.603e-05/0.002875, allocations: 51.88 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.003042, allocations: 266.6 kB / 0.548 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.003128, allocations: 34.48 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.003265, allocations: 180.2 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.003397, allocations: 83.78 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.00342, allocations: 20 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.003439, allocations: 16 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.003462, allocations: 27.88 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.003513, allocations: 63.81 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.00365, allocations: 139.5 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.003661, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.003662, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.003675, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 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.0004785/0.004153, allocations: 0.4976 MB / 0.549 GB, free: 25.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.585e-05/0.004179, allocations: 19.84 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.004216, allocations: 24.86 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.004348, allocations: 183 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.004362, allocations: 8.609 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.004382, allocations: 16.38 kB / 0.5493 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.00452, allocations: 159.4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.00453, allocations: 4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.00454, allocations: 4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.004544, allocations: 4 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.004619, allocations: 84.64 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.004933, allocations: 361 kB / 0.5499 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.00508, allocations: 112.1 kB / 0.55 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.005113, allocations: 58.55 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.00512, allocations: 3.938 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.005244, allocations: 194.5 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.005245, allocations: 4 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004738/0.005719, allocations: 0.5055 MB / 0.5507 GB, free: 24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.005748, allocations: 136.5 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.005829, allocations: 198.1 kB / 0.551 GB, free: 23.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.00584, allocations: 33.7 kB / 0.5511 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.005871, allocations: 124.4 kB / 0.5512 GB, free: 23.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.005905, allocations: 71.39 kB / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.005949, allocations: 51.19 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.005984, allocations: 342.8 kB / 0.5516 GB, free: 23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.006033, allocations: 103.9 kB / 0.5517 GB, free: 22.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.006088, allocations: 177.3 kB / 0.5519 GB, free: 22.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.006178, allocations: 209.5 kB / 0.5521 GB, free: 22.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.006179, allocations: 4.031 kB / 0.5521 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001421/0.006321, allocations: 260.2 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.006351, allocations: 67.39 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.006356, allocations: 0 / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.006364, allocations: 4 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.006511, allocations: 63.89 kB / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.006516, allocations: 10.88 kB / 0.5525 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.006589, allocations: 19.92 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.006599, allocations: 12 kB / 0.5525 GB, free: 21.94 MB / 410.7 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 8.977e-05/0.006689, allocations: 173.6 kB / 0.5527 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.006707, allocations: 15.98 kB / 0.5527 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.006736, allocations: 29.95 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.006738, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.006739, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006742, allocations: 4 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.006971, allocations: 377 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.006973, allocations: 3.938 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.007083, allocations: 43.97 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.007103, allocations: 19.84 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007106, allocations: 3.312 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.007116, allocations: 4 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007117, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007118, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.007286, allocations: 357 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.007309, allocations: 8 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.007378, allocations: 7.984 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.007417, allocations: 19.97 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.007427, allocations: 15.92 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.422e-05/0.007461, allocations: 61.89 kB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007461, allocations: 0 / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.00761, allocations: 60 kB / 0.5537 GB, free: 20.68 MB / 410.7 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 5.798e-05/0.007668, allocations: 100.4 kB / 0.5538 GB, free: 20.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.007816, allocations: 304.5 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.007821, allocations: 4 kB / 0.554 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.007881, allocations: 148.1 kB / 0.5542 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.00809, allocations: 86.2 kB / 0.5543 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/0.01318, allocations: 0.5705 MB / 0.5548 GB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.189e-05/0.01322, allocations: 80.31 kB / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.69e-05/0.01331, allocations: 25.98 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.01347, allocations: 115.3 kB / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01347, allocations: 0 / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of Templates: time 0.004435/0.01791, allocations: 3.796 MB / 0.5587 GB, free: 15.49 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.766157081350684]