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.0006291/0.0006291, allocations: 76.19 kB / 9.879 MB, free: 0.8086 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008145/0.001444, allocations: 439.8 kB / 10.31 MB, free: 388 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.0006735/0.0006735, allocations: 157.2 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008234/0.001497, allocations: 467.6 kB / 11.66 MB, free: 2.512 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 0.9189/0.9189, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0789/0.9978, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.6905/0.6905, allocations: 291.2 MB / 0.5226 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02698/0.7174, allocations: 21.05 MB / 0.5431 GB, free: 31.97 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.483e-06/1.483e-06, allocations: 0 / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.521e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii): time 0.002036/0.002051, allocations: 2.49 MB / 0.5469 GB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007315/0.002783, allocations: 0.6231 MB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.002861, allocations: 7.938 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.655e-05/0.002927, allocations: 31.7 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.00306, allocations: 83.33 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.003185, allocations: 47.88 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.003364, allocations: 262.6 kB / 0.5479 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.003472, allocations: 50.45 kB / 0.548 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.00364, allocations: 180.1 kB / 0.5482 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.003783, allocations: 79.78 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.00381, allocations: 24 kB / 0.5483 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.003834, allocations: 16 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.00386, allocations: 27.88 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.003916, allocations: 63.88 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004078, allocations: 131.5 kB / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.4e-05/0.004092, allocations: 8 kB / 0.5485 GB, free: 26.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004092, allocations: 0 / 0.5485 GB, free: 26.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.004104, allocations: 0 / 0.5485 GB, free: 26.47 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.0005339/0.004637, allocations: 0.4975 MB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.004665, allocations: 15.84 kB / 0.549 GB, free: 25.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.004707, allocations: 28.91 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.004844, allocations: 183 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.004863, allocations: 8.609 kB / 0.5492 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.004885, allocations: 12.38 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.005029, allocations: 155.4 kB / 0.5494 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.00504, allocations: 3.984 kB / 0.5494 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.00505, allocations: 8 kB / 0.5494 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.005056, allocations: 4 kB / 0.5494 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.858e-05/0.005124, allocations: 80.7 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.00547, allocations: 361 kB / 0.5498 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.005622, allocations: 112 kB / 0.5499 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.005653, allocations: 58.55 kB / 0.55 GB, free: 24.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.005661, allocations: 0 / 0.55 GB, free: 24.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.005785, allocations: 191.2 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.005786, allocations: 4 kB / 0.5501 GB, free: 24.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004806/0.006266, allocations: 0.5055 MB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.006297, allocations: 140.5 kB / 0.5508 GB, free: 23.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.006384, allocations: 202.1 kB / 0.551 GB, free: 23.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.006396, allocations: 33.7 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.006427, allocations: 120.4 kB / 0.5511 GB, free: 23.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.006457, allocations: 75.39 kB / 0.5512 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.006504, allocations: 51.19 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.006541, allocations: 342.7 kB / 0.5516 GB, free: 23.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.006587, allocations: 96.98 kB / 0.5517 GB, free: 22.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.006645, allocations: 173.4 kB / 0.5518 GB, free: 22.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.006739, allocations: 213.5 kB / 0.552 GB, free: 22.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006741, allocations: 4.031 kB / 0.552 GB, free: 22.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001387/0.00688, allocations: 260.2 kB / 0.5523 GB, free: 22.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.00691, allocations: 59.41 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.006915, allocations: 4 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.006925, allocations: 4 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.007081, allocations: 66.95 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.007085, allocations: 4.219 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.007165, allocations: 23.92 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.007176, allocations: 12 kB / 0.5524 GB, free: 21.98 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 0.000101/0.007276, allocations: 172.2 kB / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.007303, allocations: 19.98 kB / 0.5526 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.00733, allocations: 21.95 kB / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007332, allocations: 7.984 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007334, allocations: 0 / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007337, allocations: 4 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.007568, allocations: 385 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00757, allocations: 3.938 kB / 0.553 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.007684, allocations: 39.97 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.007703, allocations: 15.86 kB / 0.5531 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.007705, allocations: 0 / 0.5531 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.007715, allocations: 8 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.007716, allocations: 3.938 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007718, allocations: 3.984 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.007879, allocations: 345 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.007904, allocations: 11.98 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.007977, allocations: 11.31 kB / 0.5534 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.008021, allocations: 27.89 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.008029, allocations: 7.938 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.757e-05/0.008067, allocations: 65.94 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008067, allocations: 0 / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.008232, allocations: 56 kB / 0.5536 GB, free: 20.71 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 6.349e-05/0.008296, allocations: 96.36 kB / 0.5537 GB, free: 20.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.008451, allocations: 311.1 kB / 0.554 GB, free: 20.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.008455, allocations: 4 kB / 0.554 GB, free: 20.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.008513, allocations: 141.9 kB / 0.5541 GB, free: 20.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.008734, allocations: 89.19 kB / 0.5542 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.01419, allocations: 0.5732 MB / 0.5548 GB, free: 19.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.01422, allocations: 80.33 kB / 0.5548 GB, free: 19.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.515e-05/0.01429, allocations: 25.98 kB / 0.5549 GB, free: 19.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.0144, allocations: 115.3 kB / 0.555 GB, free: 19.18 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0144, allocations: 0 / 0.555 GB, free: 19.18 MB / 410.7 MB Notification: Performance of Templates: time 0.004746/0.01915, allocations: 3.78 MB / 0.5587 GB, free: 15.54 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.54377115983516]