Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_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.001774/0.001774, allocations: 108.3 kB / 19.71 MB, free: 432 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.001835/0.001835, allocations: 221.3 kB / 23 MB, free: 2.969 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.13/1.13, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.8097/0.8097, allocations: 312.3 MB / 0.6108 GB, free: 97.04 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.J01DC07_Cefotiam.Cefotiam_Shah2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_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.00151/0.00151, allocations: 73.97 kB / 0.7699 GB, free: 19.63 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1536, allocations: 73.98 MB / 0.8421 GB, free: 9.77 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference): time 0.003397/0.1569, allocations: 2.301 MB / 0.8444 GB, free: 7.473 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00712/0.1641, allocations: 6.525 MB / 0.8507 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.1643, allocations: 0.625 kB / 0.8507 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.1645, allocations: 31.7 kB / 0.8508 GB, free: 0.9141 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1648, allocations: 80.61 kB / 0.8508 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1651, allocations: 48.48 kB / 0.8509 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.1654, allocations: 259.3 kB / 0.8511 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1656, allocations: 44.2 kB / 0.8512 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1658, allocations: 92.33 kB / 0.8513 GB, free: 416 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.166, allocations: 100.1 kB / 0.8514 GB, free: 316 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.166, allocations: 20 kB / 0.8514 GB, free: 296 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.202e-05/0.1661, allocations: 16.5 kB / 0.8514 GB, free: 280 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.1661, allocations: 40.52 kB / 0.8514 GB, free: 240 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1662, allocations: 91.53 kB / 0.8515 GB, free: 148 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1665, allocations: 202.1 kB / 0.8517 GB, free: 15.95 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.1665, allocations: 3.984 kB / 0.8517 GB, free: 15.95 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1665, allocations: 4.5 kB / 0.8517 GB, free: 15.94 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1665, allocations: 4.562 kB / 0.8517 GB, free: 15.94 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000857/0.1674, allocations: 494.8 kB / 0.8522 GB, free: 15.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1674, allocations: 8.031 kB / 0.8522 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.1675, allocations: 25.52 kB / 0.8522 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1677, allocations: 183.1 kB / 0.8524 GB, free: 15.17 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1678, allocations: 9.234 kB / 0.8524 GB, free: 15.16 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1678, allocations: 23.88 kB / 0.8524 GB, free: 15.14 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.1681, allocations: 187 kB / 0.8526 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1681, allocations: 4.625 kB / 0.8526 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1681, allocations: 8.484 kB / 0.8526 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1681, allocations: 4 kB / 0.8526 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.1684, allocations: 147.5 kB / 0.8528 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006599/0.169, allocations: 486.7 kB / 0.8532 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.1694, allocations: 169.5 kB / 0.8534 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1695, allocations: 99.05 kB / 0.8535 GB, free: 13.98 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1695, allocations: 4.625 kB / 0.8535 GB, free: 13.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.1698, allocations: 221.2 kB / 0.8537 GB, free: 13.73 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 3.626e-06/0.1698, allocations: 0.625 kB / 0.8537 GB, free: 13.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001105/0.1709, allocations: 0.7011 MB / 0.8544 GB, free: 12.97 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.171, allocations: 140.4 kB / 0.8545 GB, free: 12.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1712, allocations: 219.6 kB / 0.8547 GB, free: 12.58 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1712, allocations: 33.7 kB / 0.8548 GB, free: 12.54 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.1713, allocations: 133.1 kB / 0.8549 GB, free: 12.41 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.1713, allocations: 68.11 kB / 0.855 GB, free: 12.34 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.1714, allocations: 61.64 kB / 0.855 GB, free: 12.28 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1715, allocations: 335.4 kB / 0.8553 GB, free: 11.94 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3384/0.5099, allocations: 141.5 kB / 0.8555 GB, free: 30.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.5101, allocations: 225.6 kB / 0.8557 GB, free: 30.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.5103, allocations: 282.6 kB / 0.856 GB, free: 29.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5103, allocations: 1.594 kB / 0.856 GB, free: 29.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004431/0.5108, allocations: 389.6 kB / 0.8563 GB, free: 29.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.5108, allocations: 64.78 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5108, allocations: 3.688 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.5109, allocations: 3.875 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.511, allocations: 51.52 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.511, allocations: 3.438 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.5111, allocations: 20.64 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.5111, allocations: 15.5 kB / 0.8565 GB, free: 29.73 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.0001895/0.5113, allocations: 175.2 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.5114, allocations: 28.75 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.5114, allocations: 27.77 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5114, allocations: 1.938 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5114, allocations: 0 / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5114, allocations: 1 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.512, allocations: 0.5324 MB / 0.8572 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.512, allocations: 5.922 kB / 0.8572 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5121, allocations: 37.47 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5121, allocations: 0 / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.5121, allocations: 7.984 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5121, allocations: 3.938 kB / 0.8573 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5121, allocations: 0 / 0.8573 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.5126, allocations: 497.6 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.5126, allocations: 23.75 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.5127, allocations: 10.28 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.5128, allocations: 16.08 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.5128, allocations: 20.08 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.5128, allocations: 11.02 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.847e-05/0.5129, allocations: 155.5 kB / 0.858 GB, free: 28.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5129, allocations: 0 / 0.858 GB, free: 28.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002123/0.5132, allocations: 61.62 kB / 0.858 GB, free: 28.96 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.0001052/0.5133, allocations: 119.9 kB / 0.8582 GB, free: 28.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.5136, allocations: 381.5 kB / 0.8585 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5136, allocations: 0 / 0.8585 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.5138, allocations: 173.6 kB / 0.8587 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.5141, allocations: 64.25 kB / 0.8588 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.5151, allocations: 0.708 MB / 0.8594 GB, free: 28.23 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.007e-05/0.5152, allocations: 123.7 kB / 0.8596 GB, free: 28.15 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.5153, allocations: 22.92 kB / 0.8596 GB, free: 28.14 MB / 490.8 MB Notification: Performance of SimCode: time 8.52e-07/0.5153, allocations: 0.8438 kB / 0.8596 GB, free: 28.14 MB / 490.8 MB Notification: Performance of Templates: time 0.007009/0.5223, allocations: 2.943 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.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.8651914317160845]