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.0006695/0.0006695, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009586/0.001628, allocations: 440 kB / 10.41 MB, free: 280 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.0006904/0.0006904, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008976/0.001588, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.022/1.022, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08756/1.11, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7494/0.7494, allocations: 291.2 MB / 0.5228 GB, free: 52.52 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03029/0.7797, allocations: 21.05 MB / 0.5433 GB, free: 31.54 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 1.322e-06/1.322e-06, allocations: 0 / 0.5447 GB, free: 30.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.463e-05, allocations: 6.312 kB / 0.5447 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii): time 0.001967/0.001982, allocations: 2.507 MB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.002631, allocations: 0.6271 MB / 0.5478 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.002704, allocations: 4 kB / 0.5478 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.048e-05/0.002764, allocations: 23.72 kB / 0.5478 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.002893, allocations: 83.27 kB / 0.5479 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.003023, allocations: 63.86 kB / 0.548 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.003199, allocations: 258.6 kB / 0.5482 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.003292, allocations: 42.47 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.003445, allocations: 180.2 kB / 0.5484 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.003585, allocations: 79.8 kB / 0.5485 GB, free: 26.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.003608, allocations: 19.94 kB / 0.5485 GB, free: 26.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.304e-05/0.003631, allocations: 20 kB / 0.5485 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.003657, allocations: 23.88 kB / 0.5486 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.003705, allocations: 63.88 kB / 0.5486 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.003844, allocations: 143.4 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.003853, allocations: 4 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003853, allocations: 0 / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.003861, allocations: 4 kB / 0.5488 GB, free: 25.97 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.0004965/0.004358, allocations: 0.4898 MB / 0.5492 GB, free: 25.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.004386, allocations: 15.84 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.004429, allocations: 24.92 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.004561, allocations: 179 kB / 0.5494 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.004578, allocations: 12.61 kB / 0.5495 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.004601, allocations: 16.38 kB / 0.5495 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.004748, allocations: 159.5 kB / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.004757, allocations: 0 / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.004769, allocations: 8 kB / 0.5496 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004774, allocations: 0 / 0.5496 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/0.004845, allocations: 82.27 kB / 0.5497 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.005175, allocations: 369 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.00532, allocations: 112.1 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.005353, allocations: 61.86 kB / 0.5502 GB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.005361, allocations: 4 kB / 0.5502 GB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.00548, allocations: 195.5 kB / 0.5504 GB, free: 24.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.102e-06/0.005481, allocations: 0 / 0.5504 GB, free: 24.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004887/0.00597, allocations: 0.5111 MB / 0.5509 GB, free: 23.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.006004, allocations: 174.2 kB / 0.5511 GB, free: 23.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.006085, allocations: 202.1 kB / 0.5513 GB, free: 23.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.006097, allocations: 33.7 kB / 0.5513 GB, free: 23.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.006127, allocations: 120.4 kB / 0.5514 GB, free: 22.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.006156, allocations: 75.41 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.006199, allocations: 51.17 kB / 0.5515 GB, free: 22.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.24e-05/0.006231, allocations: 338.8 kB / 0.5519 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.006278, allocations: 93 kB / 0.552 GB, free: 22.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.006334, allocations: 173.3 kB / 0.5521 GB, free: 22.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.006427, allocations: 220.5 kB / 0.5523 GB, free: 21.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006428, allocations: 0 / 0.5523 GB, free: 21.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001361/0.006564, allocations: 263.5 kB / 0.5526 GB, free: 21.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.006592, allocations: 71.61 kB / 0.5527 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006596, allocations: 0 / 0.5527 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.006607, allocations: 4 kB / 0.5527 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.006745, allocations: 59.91 kB / 0.5527 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.00675, allocations: 10.64 kB / 0.5527 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.006824, allocations: 15.94 kB / 0.5527 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.006834, allocations: 12 kB / 0.5528 GB, free: 21.45 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 9.353e-05/0.006927, allocations: 173.6 kB / 0.5529 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.006946, allocations: 31.91 kB / 0.5529 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.006973, allocations: 17.97 kB / 0.553 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.006974, allocations: 0 / 0.553 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.006975, allocations: 0 / 0.553 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.006979, allocations: 3.984 kB / 0.553 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.007191, allocations: 370.3 kB / 0.5533 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007193, allocations: 3.938 kB / 0.5533 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.007296, allocations: 46.97 kB / 0.5534 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.007314, allocations: 19.86 kB / 0.5534 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007316, allocations: 4 kB / 0.5534 GB, free: 20.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.007326, allocations: 7.984 kB / 0.5534 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007327, allocations: 3.938 kB / 0.5534 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007328, allocations: 0 / 0.5534 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.007486, allocations: 345 kB / 0.5537 GB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.007508, allocations: 8 kB / 0.5537 GB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.007577, allocations: 15.98 kB / 0.5538 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.007616, allocations: 19.91 kB / 0.5538 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.007624, allocations: 11.94 kB / 0.5538 GB, free: 20.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.007661, allocations: 69.94 kB / 0.5539 GB, free: 20.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007662, allocations: 0 / 0.5539 GB, free: 20.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.007817, allocations: 52 kB / 0.5539 GB, free: 20.18 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.884e-05/0.007876, allocations: 92.41 kB / 0.554 GB, free: 20.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.008024, allocations: 311.6 kB / 0.5543 GB, free: 19.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.008029, allocations: 4.656 kB / 0.5543 GB, free: 19.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.008097, allocations: 153.8 kB / 0.5544 GB, free: 19.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.008365, allocations: 0.5087 MB / 0.5549 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.01349, allocations: 0.5666 MB / 0.5555 GB, free: 18.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.01353, allocations: 76.33 kB / 0.5556 GB, free: 18.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.517e-05/0.0136, allocations: 25.94 kB / 0.5556 GB, free: 18.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.01374, allocations: 115.3 kB / 0.5557 GB, free: 18.13 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01374, allocations: 0 / 0.5557 GB, free: 18.13 MB / 410.7 MB Notification: Performance of Templates: time 0.2461/0.2598, allocations: 3.787 MB / 0.5594 GB, free: 85.09 MB / 410.8 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.8891037879511714]