Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_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.001131/0.001131, allocations: 100.4 kB / 19.7 MB, free: 440 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.001132/0.001132, allocations: 219.5 kB / 23 MB, free: 2.961 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.199/1.199, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.8248/0.8248, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_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.001547/0.001547, allocations: 75.36 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1619, allocations: 73.99 MB / 0.8422 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference): time 0.004009/0.1659, allocations: 2.691 MB / 0.8448 GB, free: 7.637 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.008779/0.1747, allocations: 6.606 MB / 0.8512 GB, free: 1.031 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.175, allocations: 0.5938 kB / 0.8512 GB, free: 1.031 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.1752, allocations: 40.2 kB / 0.8513 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.1756, allocations: 120.1 kB / 0.8514 GB, free: 0.875 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.176, allocations: 72.47 kB / 0.8515 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.1765, allocations: 370.7 kB / 0.8518 GB, free: 452 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.1767, allocations: 65.52 kB / 0.8519 GB, free: 388 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1769, allocations: 135.5 kB / 0.852 GB, free: 252 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.1772, allocations: 139.8 kB / 0.8521 GB, free: 112 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.1773, allocations: 24.69 kB / 0.8522 GB, free: 88 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.878e-05/0.1773, allocations: 24 kB / 0.8522 GB, free: 64 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.1774, allocations: 68.48 kB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1775, allocations: 127.4 kB / 0.8524 GB, free: 15.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.1779, allocations: 289.3 kB / 0.8526 GB, free: 15.59 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.1779, allocations: 0.7188 kB / 0.8526 GB, free: 15.59 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1779, allocations: 0 / 0.8526 GB, free: 15.59 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1779, allocations: 4.5 kB / 0.8526 GB, free: 15.59 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001092/0.179, allocations: 0.598 MB / 0.8532 GB, free: 14.94 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.1791, allocations: 12.75 kB / 0.8532 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.1791, allocations: 32.75 kB / 0.8533 GB, free: 14.89 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1795, allocations: 213.6 kB / 0.8535 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.1795, allocations: 16.75 kB / 0.8535 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.1796, allocations: 24.5 kB / 0.8535 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.18, allocations: 284.6 kB / 0.8538 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.18, allocations: 8.516 kB / 0.8538 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.18, allocations: 12 kB / 0.8538 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.18, allocations: 4.594 kB / 0.8538 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.1804, allocations: 237.7 kB / 0.854 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.1818, allocations: 0.6695 MB / 0.8547 GB, free: 13.34 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.1822, allocations: 239.5 kB / 0.8549 GB, free: 13.09 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1824, allocations: 153 kB / 0.8551 GB, free: 12.92 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1824, allocations: 0 / 0.8551 GB, free: 12.92 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.1828, allocations: 358.8 kB / 0.8554 GB, free: 12.52 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 4.538e-06/0.1828, allocations: 4.609 kB / 0.8554 GB, free: 12.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3753/0.5581, allocations: 1.076 MB / 0.8565 GB, free: 21.37 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.5582, allocations: 223.5 kB / 0.8567 GB, free: 21.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.5585, allocations: 249.7 kB / 0.8569 GB, free: 21.01 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.5586, allocations: 37.44 kB / 0.857 GB, free: 20.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5587, allocations: 157.5 kB / 0.8571 GB, free: 20.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.5588, allocations: 112.7 kB / 0.8572 GB, free: 20.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.5589, allocations: 73.95 kB / 0.8573 GB, free: 20.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.5589, allocations: 337.9 kB / 0.8576 GB, free: 20.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.5592, allocations: 213.3 kB / 0.8578 GB, free: 20.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.5594, allocations: 314.5 kB / 0.8581 GB, free: 20.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.5599, allocations: 442.6 kB / 0.8585 GB, free: 19.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5599, allocations: 0 / 0.8585 GB, free: 19.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006633/0.5605, allocations: 0.5496 MB / 0.8591 GB, free: 19.66 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.5606, allocations: 90.98 kB / 0.8591 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5606, allocations: 4.656 kB / 0.8592 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/0.5606, allocations: 4.812 kB / 0.8592 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.5609, allocations: 83.09 kB / 0.8592 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.5609, allocations: 5.828 kB / 0.8592 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.561, allocations: 20.7 kB / 0.8593 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.5611, allocations: 21.09 kB / 0.8593 GB, free: 19.57 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0002688/0.5613, allocations: 227.1 kB / 0.8595 GB, free: 19.38 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.5614, allocations: 33.22 kB / 0.8595 GB, free: 19.37 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.5614, allocations: 31.16 kB / 0.8596 GB, free: 19.36 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5614, allocations: 11.02 kB / 0.8596 GB, free: 19.36 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.5614, allocations: 0 / 0.8596 GB, free: 19.36 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.5615, allocations: 2.562 kB / 0.8596 GB, free: 19.36 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.5624, allocations: 0.76 MB / 0.8603 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5624, allocations: 0.8438 kB / 0.8603 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.5625, allocations: 51.59 kB / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5625, allocations: 4.266 kB / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.5626, allocations: 11.53 kB / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.5626, allocations: 3.031 kB / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5626, allocations: 1.031 kB / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.5633, allocations: 0.7343 MB / 0.8611 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.5633, allocations: 24.95 kB / 0.8611 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.5634, allocations: 14.59 kB / 0.8611 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.5635, allocations: 23.72 kB / 0.8612 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5636, allocations: 30.5 kB / 0.8612 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.5636, allocations: 12.94 kB / 0.8612 GB, free: 18.63 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001624/0.5638, allocations: 177.1 kB / 0.8614 GB, free: 18.55 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5638, allocations: 0 / 0.8614 GB, free: 18.55 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003005/0.5641, allocations: 87.84 kB / 0.8615 GB, free: 18.55 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.0001456/0.5642, allocations: 119.2 kB / 0.8616 GB, free: 18.46 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.5649, allocations: 0.5634 MB / 0.8621 GB, free: 18.11 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5649, allocations: 0 / 0.8621 GB, free: 18.11 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.5651, allocations: 305.4 kB / 0.8624 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.5656, allocations: 78.78 kB / 0.8625 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.5671, allocations: 0.9686 MB / 0.8634 GB, free: 17.44 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.5673, allocations: 165.3 kB / 0.8636 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.5673, allocations: 28.69 kB / 0.8636 GB, free: 17.35 MB / 490.8 MB Notification: Performance of SimCode: time 2.104e-06/0.5673, allocations: 0 / 0.8636 GB, free: 17.35 MB / 490.8 MB Notification: Performance of Templates: time 0.01042/0.5778, allocations: 4.015 MB / 0.8675 GB, free: 17 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline_Chapagain2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.854419823735952]