Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.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.001157/0.001157, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.00112/0.00112, allocations: 221.3 kB / 23.01 MB, free: 2.945 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.137/1.137, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.8301/0.8301, allocations: 312.3 MB / 0.6108 GB, free: 96.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.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline") [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.001632/0.001632, allocations: 71.17 kB / 0.7699 GB, free: 19.47 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1798, allocations: 74 MB / 0.8422 GB, free: 9.609 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline): time 0.003825/0.1836, allocations: 3.007 MB / 0.8451 GB, free: 6.602 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007177/0.1908, allocations: 6.641 MB / 0.8516 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.191, allocations: 0 / 0.8516 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.1912, allocations: 44.19 kB / 0.8516 GB, free: 15.92 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1915, allocations: 132.2 kB / 0.8518 GB, free: 15.79 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.1918, allocations: 80.47 kB / 0.8518 GB, free: 15.71 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.1921, allocations: 410.6 kB / 0.8522 GB, free: 15.31 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1923, allocations: 66.22 kB / 0.8523 GB, free: 15.24 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1925, allocations: 151.4 kB / 0.8524 GB, free: 15.09 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1927, allocations: 135.9 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.1927, allocations: 32.59 kB / 0.8526 GB, free: 14.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.266e-05/0.1928, allocations: 40.53 kB / 0.8526 GB, free: 14.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.1928, allocations: 67.75 kB / 0.8527 GB, free: 14.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.193, allocations: 144 kB / 0.8528 GB, free: 14.68 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.1933, allocations: 358.6 kB / 0.8532 GB, free: 14.33 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.1933, allocations: 0.5938 kB / 0.8532 GB, free: 14.33 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1933, allocations: 0.6562 kB / 0.8532 GB, free: 14.33 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1933, allocations: 0 / 0.8532 GB, free: 14.33 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009507/0.1943, allocations: 0.6152 MB / 0.8538 GB, free: 13.67 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.1943, allocations: 12.75 kB / 0.8538 GB, free: 13.66 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.1944, allocations: 36.7 kB / 0.8538 GB, free: 13.62 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1947, allocations: 221.8 kB / 0.854 GB, free: 13.38 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.1947, allocations: 25.47 kB / 0.8541 GB, free: 13.36 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.1948, allocations: 31.89 kB / 0.8541 GB, free: 13.33 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.1952, allocations: 297.7 kB / 0.8544 GB, free: 13.01 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1952, allocations: 4.578 kB / 0.8544 GB, free: 13.01 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.1952, allocations: 8 kB / 0.8544 GB, free: 13 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.1952, allocations: 4.625 kB / 0.8544 GB, free: 13 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.1956, allocations: 249.5 kB / 0.8546 GB, free: 12.74 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.197, allocations: 0.6478 MB / 0.8553 GB, free: 12.06 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3649/0.5619, allocations: 266 kB / 0.8555 GB, free: 22.13 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.562, allocations: 159.5 kB / 0.8557 GB, free: 22.06 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.5621, allocations: 3.719 kB / 0.8557 GB, free: 22.06 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006385/0.5627, allocations: 368 kB / 0.856 GB, free: 21.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 4.719e-06/0.5627, allocations: 0 / 0.856 GB, free: 21.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001655/0.5644, allocations: 1.142 MB / 0.8571 GB, free: 21.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.5644, allocations: 224.1 kB / 0.8574 GB, free: 21.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.5647, allocations: 254.7 kB / 0.8576 GB, free: 20.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.5647, allocations: 34.7 kB / 0.8576 GB, free: 20.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.5648, allocations: 153.7 kB / 0.8578 GB, free: 20.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.5648, allocations: 118.7 kB / 0.8579 GB, free: 20.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.5649, allocations: 79.62 kB / 0.858 GB, free: 20.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.565, allocations: 347.7 kB / 0.8583 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.5652, allocations: 216 kB / 0.8585 GB, free: 20.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.5654, allocations: 324.9 kB / 0.8588 GB, free: 20.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.5658, allocations: 459 kB / 0.8592 GB, free: 19.85 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5658, allocations: 2.844 kB / 0.8593 GB, free: 19.85 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005324/0.5663, allocations: 0.5717 MB / 0.8598 GB, free: 19.61 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.5664, allocations: 95.66 kB / 0.8599 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5664, allocations: 0.5 kB / 0.8599 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.5664, allocations: 7.375 kB / 0.8599 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.5666, allocations: 83.75 kB / 0.86 GB, free: 19.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.5666, allocations: 5.156 kB / 0.86 GB, free: 19.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.5667, allocations: 22.48 kB / 0.86 GB, free: 19.51 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.5667, allocations: 16.97 kB / 0.86 GB, free: 19.51 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0002003/0.5669, allocations: 236.1 kB / 0.8603 GB, free: 19.34 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.567, allocations: 36.09 kB / 0.8603 GB, free: 19.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.567, allocations: 33.19 kB / 0.8603 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.567, allocations: 13.62 kB / 0.8603 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.567, allocations: 0 / 0.8603 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.567, allocations: 0 / 0.8603 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.5678, allocations: 0.809 MB / 0.8611 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5678, allocations: 2.719 kB / 0.8611 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.568, allocations: 62.78 kB / 0.8612 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.568, allocations: 7.375 kB / 0.8612 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.568, allocations: 10.5 kB / 0.8612 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.568, allocations: 4.594 kB / 0.8612 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.568, allocations: 0 / 0.8612 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.5687, allocations: 0.7637 MB / 0.862 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/0.5688, allocations: 57.98 kB / 0.862 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.5688, allocations: 17.53 kB / 0.862 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.569, allocations: 15.53 kB / 0.862 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.5691, allocations: 30.33 kB / 0.8621 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.5691, allocations: 13.44 kB / 0.8621 GB, free: 18.58 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001179/0.5692, allocations: 184.5 kB / 0.8623 GB, free: 18.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5692, allocations: 1.312 kB / 0.8623 GB, free: 18.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002502/0.5694, allocations: 86.66 kB / 0.8623 GB, free: 18.5 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.0001074/0.5695, allocations: 131.9 kB / 0.8625 GB, free: 18.41 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005604/0.5701, allocations: 0.5923 MB / 0.863 GB, free: 18.06 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5701, allocations: 3.969 kB / 0.8631 GB, free: 18.06 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.5704, allocations: 310.8 kB / 0.8633 GB, free: 17.87 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.5707, allocations: 95.23 kB / 0.8634 GB, free: 17.87 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.5722, allocations: 1.072 MB / 0.8645 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.5724, allocations: 163.1 kB / 0.8646 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.5724, allocations: 28.55 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of SimCode: time 6.91e-07/0.5724, allocations: 0 / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of Templates: time 0.009728/0.5822, allocations: 4.349 MB / 0.8689 GB, free: 16.85 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.068898337893188]