Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_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.002485/0.002485, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002952/0.002952, allocations: 214.4 kB / 22.25 MB, free: 3.566 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.762/1.762, allocations: 230.6 MB / 256 MB, free: 9.59 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.517/1.517, allocations: 316.7 MB / 0.6144 GB, free: 93.13 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.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_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.003996/0.003996, allocations: 70.05 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1746, allocations: 73.99 MB / 0.8472 GB, free: 4.949 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference): time 0.004428/0.179, allocations: 2.289 MB / 0.8495 GB, free: 2.66 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3704/0.5494, allocations: 6.524 MB / 0.8558 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.5497, allocations: 3.188 kB / 0.8558 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.5499, allocations: 24.08 kB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.5502, allocations: 85.67 kB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.5505, allocations: 54.98 kB / 0.856 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.5508, allocations: 256.6 kB / 0.8562 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.551, allocations: 37.67 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.5511, allocations: 100.8 kB / 0.8564 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.5514, allocations: 99.09 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.5514, allocations: 16.84 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.5515, allocations: 17.03 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.5515, allocations: 39.05 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.5516, allocations: 91.83 kB / 0.8566 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.5519, allocations: 200.5 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5519, allocations: 4.344 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.644e-06/0.5519, allocations: 0 / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.5519, allocations: 0 / 0.8568 GB, free: 21.82 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.0008187/0.5528, allocations: 497.1 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5528, allocations: 10.44 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.5529, allocations: 26.14 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.5531, allocations: 189.3 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.5531, allocations: 7.641 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.5531, allocations: 20.2 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.5535, allocations: 190 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5535, allocations: 0.6875 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.5535, allocations: 8.219 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5535, allocations: 3.188 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.5539, allocations: 147.4 kB / 0.8579 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.5546, allocations: 485.7 kB / 0.8583 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.5551, allocations: 172.6 kB / 0.8585 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.5553, allocations: 96.42 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.5553, allocations: 3.344 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.5556, allocations: 224.9 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.5556, allocations: 0.6875 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001447/0.557, allocations: 0.7002 MB / 0.8595 GB, free: 20.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.5571, allocations: 139.2 kB / 0.8596 GB, free: 20.08 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.5573, allocations: 215.2 kB / 0.8598 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.5573, allocations: 39.33 kB / 0.8599 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.5574, allocations: 131 kB / 0.86 GB, free: 19.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.5574, allocations: 70.86 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.5575, allocations: 55.47 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.5576, allocations: 336.9 kB / 0.8604 GB, free: 19.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.5578, allocations: 146 kB / 0.8606 GB, free: 19.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.558, allocations: 223.8 kB / 0.8608 GB, free: 19.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.5584, allocations: 283.8 kB / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5584, allocations: 0 / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005996/0.559, allocations: 384.7 kB / 0.8614 GB, free: 18.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.559, allocations: 67.55 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5591, allocations: 8.781 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.5591, allocations: 0 / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.5593, allocations: 49.78 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5593, allocations: 5.375 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.5595, allocations: 25.84 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.5595, allocations: 14.91 kB / 0.8616 GB, free: 18.8 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.0002061/0.5597, allocations: 173.2 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.5598, allocations: 26.92 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.5598, allocations: 30.23 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5598, allocations: 3.094 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.5598, allocations: 2.625 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5598, allocations: 0 / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.5606, allocations: 0.5427 MB / 0.8623 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5606, allocations: 0 / 0.8623 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.5608, allocations: 37.47 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.5608, allocations: 0 / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.5609, allocations: 9.75 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5609, allocations: 4.531 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5609, allocations: 0.9062 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.5616, allocations: 497.6 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.5616, allocations: 23.55 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.5617, allocations: 9.109 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.5619, allocations: 12.95 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.562, allocations: 30.16 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.562, allocations: 5 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001327/0.5621, allocations: 160.2 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5621, allocations: 0.625 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003328/0.5624, allocations: 52.22 kB / 0.8631 GB, free: 17.98 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.0001422/0.5626, allocations: 119.2 kB / 0.8633 GB, free: 17.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005521/0.5631, allocations: 385.8 kB / 0.8636 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5631, allocations: 4.75 kB / 0.8636 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.5634, allocations: 171.5 kB / 0.8638 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.5639, allocations: 69 kB / 0.8639 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.5652, allocations: 0.6813 MB / 0.8645 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.5653, allocations: 122.6 kB / 0.8646 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000124/0.5654, allocations: 25.86 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.5655, allocations: 20.2 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of SimCode: time 6.21e-07/0.5655, allocations: 0 / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of Templates: time 0.009439/0.5749, allocations: 3.657 MB / 0.8683 GB, free: 16.83 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.721383461961523]