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.001906/0.001906, allocations: 105.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.001968/0.001968, allocations: 225.1 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.748/1.748, allocations: 230.6 MB / 256 MB, free: 9.617 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.12 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,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: 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.00417/0.00417, allocations: 77.41 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1721, allocations: 73.99 MB / 0.8472 GB, free: 4.941 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii): time 0.005188/0.1773, allocations: 2.308 MB / 0.8495 GB, free: 2.633 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1788, allocations: 0.5877 MB / 0.8501 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1789, allocations: 7.938 kB / 0.8501 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.1791, allocations: 24.22 kB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1793, allocations: 80.44 kB / 0.8502 GB, free: 1.941 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1796, allocations: 56.47 kB / 0.8502 GB, free: 1.887 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.1801, allocations: 255.3 kB / 0.8505 GB, free: 1.637 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1802, allocations: 32.56 kB / 0.8505 GB, free: 1.605 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.1804, allocations: 100.3 kB / 0.8506 GB, free: 1.508 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.1807, allocations: 96.12 kB / 0.8507 GB, free: 1.414 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.1808, allocations: 16 kB / 0.8507 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.1808, allocations: 16.66 kB / 0.8507 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.1809, allocations: 40.36 kB / 0.8508 GB, free: 1.344 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1811, allocations: 91.58 kB / 0.8508 GB, free: 1.254 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.1814, allocations: 203.8 kB / 0.851 GB, free: 1.055 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1814, allocations: 3.938 kB / 0.851 GB, free: 1.051 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1814, allocations: 0.625 kB / 0.851 GB, free: 1.051 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1814, allocations: 0.5938 kB / 0.851 GB, free: 1.051 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.001211/0.1826, allocations: 498.2 kB / 0.8515 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1827, allocations: 12.62 kB / 0.8515 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.1828, allocations: 20.8 kB / 0.8515 GB, free: 500 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.1831, allocations: 191.7 kB / 0.8517 GB, free: 280 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.1832, allocations: 9.172 kB / 0.8517 GB, free: 272 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.1832, allocations: 23.88 kB / 0.8518 GB, free: 248 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.1838, allocations: 195.3 kB / 0.8519 GB, free: 40 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1838, allocations: 0 / 0.8519 GB, free: 40 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1838, allocations: 4.5 kB / 0.852 GB, free: 36 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1838, allocations: 8.531 kB / 0.852 GB, free: 28 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.1844, allocations: 146.8 kB / 0.8521 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1855, allocations: 482.6 kB / 0.8526 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/0.1862, allocations: 177.4 kB / 0.8527 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.1865, allocations: 91.27 kB / 0.8528 GB, free: 15.09 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1865, allocations: 1.75 kB / 0.8528 GB, free: 15.09 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005425/0.1871, allocations: 232.5 kB / 0.853 GB, free: 14.83 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.1871, allocations: 0 / 0.853 GB, free: 14.83 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.002259/0.1894, allocations: 0.6929 MB / 0.8537 GB, free: 14.08 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.1895, allocations: 137.9 kB / 0.8538 GB, free: 13.91 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.1898, allocations: 215 kB / 0.8541 GB, free: 13.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.1899, allocations: 37.69 kB / 0.8541 GB, free: 13.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.19, allocations: 129.6 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1901, allocations: 79.41 kB / 0.8543 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.1902, allocations: 53.66 kB / 0.8543 GB, free: 13.39 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.1905, allocations: 341.3 kB / 0.8547 GB, free: 13.05 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.1909, allocations: 145 kB / 0.8548 GB, free: 12.89 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.1913, allocations: 221.3 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3128/0.5041, allocations: 277.5 kB / 0.8553 GB, free: 28.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.5041, allocations: 1.281 kB / 0.8553 GB, free: 28.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007017/0.5048, allocations: 386.2 kB / 0.8557 GB, free: 28.19 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.5048, allocations: 67.25 kB / 0.8557 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5048, allocations: 3.625 kB / 0.8557 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.5049, allocations: 2.062 kB / 0.8557 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.5051, allocations: 51.08 kB / 0.8558 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.5051, allocations: 9.969 kB / 0.8558 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.5053, allocations: 23.27 kB / 0.8558 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.5053, allocations: 13.31 kB / 0.8558 GB, free: 28.13 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.0001793/0.5055, allocations: 172.2 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.5055, allocations: 25 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.574e-05/0.5056, allocations: 23.67 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5056, allocations: 4.609 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5056, allocations: 3.938 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5056, allocations: 0.7969 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.5063, allocations: 0.5339 MB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5063, allocations: 3.609 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.5065, allocations: 33.97 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5065, allocations: 3.406 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.5065, allocations: 5.453 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5065, allocations: 6.688 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5065, allocations: 3.281 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/0.5071, allocations: 0.4914 MB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.5071, allocations: 21.23 kB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.5072, allocations: 8.5 kB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.5073, allocations: 16.61 kB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.5074, allocations: 17.58 kB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.5075, allocations: 10.94 kB / 0.8572 GB, free: 27.45 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001161/0.5076, allocations: 157 kB / 0.8573 GB, free: 27.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5076, allocations: 0 / 0.8573 GB, free: 27.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002989/0.5079, allocations: 57.12 kB / 0.8574 GB, free: 27.38 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 9.557e-05/0.508, allocations: 117 kB / 0.8575 GB, free: 27.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005077/0.5085, allocations: 384.1 kB / 0.8578 GB, free: 27.06 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5085, allocations: 0 / 0.8578 GB, free: 27.06 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.5087, allocations: 179.2 kB / 0.858 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.5091, allocations: 62.83 kB / 0.8581 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.5102, allocations: 0.6786 MB / 0.8587 GB, free: 26.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.5103, allocations: 126.3 kB / 0.8589 GB, free: 26.6 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.415e-05/0.5104, allocations: 24.27 kB / 0.8589 GB, free: 26.6 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.5105, allocations: 23.88 kB / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of SimCode: time 4.01e-07/0.5105, allocations: 0 / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of Templates: time 0.007915/0.5184, allocations: 3.646 MB / 0.8625 GB, free: 26.29 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.915997698903084]