Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_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.00109/0.00109, allocations: 108.3 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.001204/0.001204, allocations: 217.3 kB / 23 MB, free: 2.938 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.143/1.143, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.8509/0.8509, allocations: 312.3 MB / 0.6108 GB, free: 97.1 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.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_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.001743/0.001743, allocations: 77.62 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1624, allocations: 73.98 MB / 0.8421 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference): time 0.003266/0.1656, allocations: 2.297 MB / 0.8444 GB, free: 7.543 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.008217/0.1739, allocations: 6.532 MB / 0.8508 GB, free: 1.008 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.1742, allocations: 0.5 kB / 0.8508 GB, free: 1.008 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.1744, allocations: 24.44 kB / 0.8508 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.1747, allocations: 87.94 kB / 0.8509 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1749, allocations: 48.53 kB / 0.8509 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.1753, allocations: 255.3 kB / 0.8512 GB, free: 0.6016 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1755, allocations: 44.56 kB / 0.8512 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1756, allocations: 88.31 kB / 0.8513 GB, free: 484 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.1758, allocations: 104.1 kB / 0.8514 GB, free: 380 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.1758, allocations: 20.59 kB / 0.8514 GB, free: 360 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.77e-05/0.1759, allocations: 16 kB / 0.8514 GB, free: 344 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.1759, allocations: 36.47 kB / 0.8515 GB, free: 308 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.865e-05/0.176, allocations: 91.55 kB / 0.8515 GB, free: 216 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1762, allocations: 191.8 kB / 0.8517 GB, free: 24 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1762, allocations: 4.5 kB / 0.8517 GB, free: 20 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1762, allocations: 0 / 0.8517 GB, free: 20 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1762, allocations: 4.5 kB / 0.8517 GB, free: 16 kB / 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.0009149/0.1772, allocations: 0.4909 MB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.1772, allocations: 8.031 kB / 0.8522 GB, free: 15.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.1773, allocations: 25.42 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1775, allocations: 183.7 kB / 0.8524 GB, free: 15.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1776, allocations: 12.61 kB / 0.8524 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.1776, allocations: 20.39 kB / 0.8524 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.1779, allocations: 191 kB / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1779, allocations: 4.531 kB / 0.8526 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.1779, allocations: 7.984 kB / 0.8526 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.178, allocations: 8.688 kB / 0.8527 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.1782, allocations: 147.6 kB / 0.8528 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.1789, allocations: 482.2 kB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.1793, allocations: 173.3 kB / 0.8534 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1794, allocations: 95.02 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.1794, allocations: 8.469 kB / 0.8535 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007105/0.1801, allocations: 221.8 kB / 0.8537 GB, free: 13.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.845e-06/0.1801, allocations: 0 / 0.8537 GB, free: 13.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001267/0.1814, allocations: 0.7013 MB / 0.8544 GB, free: 13.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.1815, allocations: 136.5 kB / 0.8545 GB, free: 12.87 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.1817, allocations: 219.5 kB / 0.8548 GB, free: 12.65 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1817, allocations: 34.52 kB / 0.8548 GB, free: 12.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.1818, allocations: 128.5 kB / 0.8549 GB, free: 12.48 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.1818, allocations: 71.41 kB / 0.855 GB, free: 12.41 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.1819, allocations: 62.19 kB / 0.855 GB, free: 12.34 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.182, allocations: 343.3 kB / 0.8554 GB, free: 12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3367/0.5187, allocations: 140.8 kB / 0.8555 GB, free: 30.23 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.5189, allocations: 225.2 kB / 0.8557 GB, free: 30.06 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.5192, allocations: 280.4 kB / 0.856 GB, free: 29.91 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5192, allocations: 0 / 0.856 GB, free: 29.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004673/0.5197, allocations: 395.1 kB / 0.8564 GB, free: 29.75 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.5197, allocations: 62.3 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5197, allocations: 1.594 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.5198, allocations: 3.656 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.5199, allocations: 53.06 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5199, allocations: 4.984 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.52, allocations: 19.2 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.5201, allocations: 14.69 kB / 0.8565 GB, free: 29.68 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.0002225/0.5203, allocations: 178.3 kB / 0.8567 GB, free: 29.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.5203, allocations: 24.23 kB / 0.8567 GB, free: 29.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.5204, allocations: 25.33 kB / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5204, allocations: 7.906 kB / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5204, allocations: 0 / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5204, allocations: 0 / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.521, allocations: 0.5302 MB / 0.8572 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.521, allocations: 0.5312 kB / 0.8572 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.5211, allocations: 37.92 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.5211, allocations: 1.656 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5211, allocations: 3.781 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.5211, allocations: 5.156 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5211, allocations: 5.125 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.5216, allocations: 0.4962 MB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.5217, allocations: 22.8 kB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.5217, allocations: 6.594 kB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.5218, allocations: 16.41 kB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/0.5219, allocations: 21.78 kB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.5219, allocations: 15.97 kB / 0.8579 GB, free: 29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001001/0.522, allocations: 158.6 kB / 0.858 GB, free: 28.93 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.522, allocations: 0 / 0.858 GB, free: 28.93 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002086/0.5222, allocations: 52.78 kB / 0.8581 GB, free: 28.93 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.0001033/0.5223, allocations: 114.8 kB / 0.8582 GB, free: 28.84 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.5227, allocations: 380 kB / 0.8585 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5227, allocations: 3.5 kB / 0.8585 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.5229, allocations: 171.9 kB / 0.8587 GB, free: 28.52 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.5232, allocations: 63.95 kB / 0.8588 GB, free: 28.52 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5244, allocations: 0.7027 MB / 0.8595 GB, free: 28.21 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.87e-05/0.5245, allocations: 123.9 kB / 0.8596 GB, free: 28.13 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.5245, allocations: 22.67 kB / 0.8596 GB, free: 28.12 MB / 490.8 MB Notification: Performance of SimCode: time 1.122e-06/0.5245, allocations: 0.5625 kB / 0.8596 GB, free: 28.12 MB / 490.8 MB Notification: Performance of Templates: time 0.005838/0.5304, allocations: 2.946 MB / 0.8625 GB, free: 27.93 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.429328045807779]