Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.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.001766/0.001766, 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.001868/0.001868, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.743/1.743, allocations: 230.6 MB / 256 MB, free: 9.605 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.476/1.476, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference") [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.003951/0.003951, allocations: 73.61 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1763, allocations: 73.99 MB / 0.8472 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference): time 0.005253/0.1816, allocations: 2.294 MB / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1832, allocations: 0.5877 MB / 0.85 GB, free: 2 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1833, allocations: 3.938 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.1835, allocations: 32.67 kB / 0.8501 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.1838, allocations: 76.83 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.184, allocations: 51.88 kB / 0.8502 GB, free: 1.84 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.1845, allocations: 262.7 kB / 0.8505 GB, free: 1.582 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1846, allocations: 34.02 kB / 0.8505 GB, free: 1.555 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.1848, allocations: 99.64 kB / 0.8506 GB, free: 1.457 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.1851, allocations: 99.47 kB / 0.8507 GB, free: 1.359 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.1852, allocations: 16 kB / 0.8507 GB, free: 1.344 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.717e-05/0.1852, allocations: 16 kB / 0.8507 GB, free: 1.328 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.1853, allocations: 39.84 kB / 0.8507 GB, free: 1.289 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.1855, allocations: 91.53 kB / 0.8508 GB, free: 1.199 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.1858, allocations: 196.4 kB / 0.851 GB, free: 1.008 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1859, allocations: 3.984 kB / 0.851 GB, free: 1.004 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1859, allocations: 0 / 0.851 GB, free: 1.004 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1859, allocations: 1.781 kB / 0.851 GB, free: 1.004 MB / 474.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.001241/0.1871, allocations: 493.6 kB / 0.8515 GB, free: 488 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1871, allocations: 8.031 kB / 0.8515 GB, free: 480 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.262e-05/0.1872, allocations: 24.8 kB / 0.8515 GB, free: 456 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.1876, allocations: 192.2 kB / 0.8517 GB, free: 236 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.1876, allocations: 12.61 kB / 0.8517 GB, free: 224 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.1877, allocations: 28.31 kB / 0.8517 GB, free: 196 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.1883, allocations: 186.9 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.1883, allocations: 0.5312 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.1883, allocations: 4 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1883, allocations: 4.656 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.1889, allocations: 151.4 kB / 0.8521 GB, free: 15.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1901, allocations: 490.8 kB / 0.8525 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.1908, allocations: 172.8 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.1911, allocations: 95.77 kB / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.1911, allocations: 0 / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/0.1916, allocations: 232.5 kB / 0.853 GB, free: 14.78 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.1916, allocations: 4 kB / 0.853 GB, free: 14.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.002136/0.1937, allocations: 0.6956 MB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.1939, allocations: 140.5 kB / 0.8538 GB, free: 13.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.1942, allocations: 216.6 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.1943, allocations: 33.7 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1944, allocations: 132.5 kB / 0.8542 GB, free: 13.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.952e-05/0.1945, allocations: 71.42 kB / 0.8543 GB, free: 13.39 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.1947, allocations: 61.64 kB / 0.8543 GB, free: 13.33 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.1949, allocations: 335.4 kB / 0.8547 GB, free: 12.99 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.1953, allocations: 142 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.1957, allocations: 223.2 kB / 0.855 GB, free: 12.57 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.319/0.5147, allocations: 276.4 kB / 0.8553 GB, free: 27.8 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5147, allocations: 0.5312 kB / 0.8553 GB, free: 27.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007025/0.5154, allocations: 397.2 kB / 0.8556 GB, free: 27.64 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.5155, allocations: 64.95 kB / 0.8557 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.5155, allocations: 2.25 kB / 0.8557 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.5155, allocations: 7.703 kB / 0.8557 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.5157, allocations: 52.09 kB / 0.8558 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5157, allocations: 2.375 kB / 0.8558 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.5159, allocations: 18.64 kB / 0.8558 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.5159, allocations: 14.8 kB / 0.8558 GB, free: 27.58 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.0001831/0.5161, allocations: 169.5 kB / 0.856 GB, free: 27.44 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.5162, allocations: 28.22 kB / 0.856 GB, free: 27.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.5162, allocations: 24.94 kB / 0.856 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5162, allocations: 1.5 kB / 0.856 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5162, allocations: 0.6562 kB / 0.856 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5162, allocations: 4.297 kB / 0.856 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/0.5169, allocations: 0.5264 MB / 0.8565 GB, free: 27.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5169, allocations: 6.656 kB / 0.8565 GB, free: 27.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.5171, allocations: 40.31 kB / 0.8566 GB, free: 27.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5171, allocations: 1.219 kB / 0.8566 GB, free: 27.13 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.5171, allocations: 12.8 kB / 0.8566 GB, free: 27.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5171, allocations: 0.625 kB / 0.8566 GB, free: 27.13 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5171, allocations: 2.562 kB / 0.8566 GB, free: 27.13 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.5178, allocations: 498.5 kB / 0.8571 GB, free: 26.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.5178, allocations: 20.17 kB / 0.8571 GB, free: 26.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.5178, allocations: 9.969 kB / 0.8571 GB, free: 26.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.518, allocations: 15.69 kB / 0.8571 GB, free: 26.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.5181, allocations: 19.89 kB / 0.8571 GB, free: 26.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.5181, allocations: 9.125 kB / 0.8571 GB, free: 26.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001201/0.5182, allocations: 156.5 kB / 0.8573 GB, free: 26.83 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5182, allocations: 0.5 kB / 0.8573 GB, free: 26.83 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002895/0.5185, allocations: 61.28 kB / 0.8574 GB, free: 26.82 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.0001071/0.5186, allocations: 120 kB / 0.8575 GB, free: 26.74 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.5191, allocations: 376.8 kB / 0.8578 GB, free: 26.52 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5191, allocations: 0.5625 kB / 0.8578 GB, free: 26.52 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.5193, allocations: 172.7 kB / 0.858 GB, free: 26.43 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.5198, allocations: 72.22 kB / 0.8581 GB, free: 26.42 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.5209, allocations: 0.6753 MB / 0.8587 GB, free: 26.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.678e-05/0.521, allocations: 125.8 kB / 0.8588 GB, free: 26.07 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.729e-05/0.521, allocations: 28.31 kB / 0.8589 GB, free: 26.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.5211, allocations: 21.53 kB / 0.8589 GB, free: 26.06 MB / 490.8 MB Notification: Performance of SimCode: time 4.81e-07/0.5211, allocations: 0.5 kB / 0.8589 GB, free: 26.06 MB / 490.8 MB Notification: Performance of Templates: time 0.007622/0.5287, allocations: 3.649 MB / 0.8624 GB, free: 25.77 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.90882671601139]