Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model.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.002671/0.002671, allocations: 109.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.003429/0.003429, 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.719/1.719, allocations: 230.6 MB / 256 MB, free: 9.609 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.647/1.647, allocations: 316.7 MB / 0.6144 GB, free: 93.07 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.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model") [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.004347/0.004347, allocations: 73.92 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1629, allocations: 74 MB / 0.8472 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model): time 0.003994/0.1669, allocations: 2.306 MB / 0.8495 GB, free: 2.598 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3231/0.49, allocations: 6.522 MB / 0.8558 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.4903, allocations: 2.125 kB / 0.8558 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.4904, allocations: 29.7 kB / 0.8559 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.4907, allocations: 79.09 kB / 0.8559 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.4909, allocations: 54.61 kB / 0.856 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.4911, allocations: 256 kB / 0.8562 GB, free: 22 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.4913, allocations: 39.22 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.4914, allocations: 98.98 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.4916, allocations: 97.11 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.4917, allocations: 18.28 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.071e-05/0.4917, allocations: 15.38 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.4917, allocations: 40.3 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.943e-05/0.4918, allocations: 94.17 kB / 0.8566 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.4921, allocations: 197 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4921, allocations: 1.812 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4921, allocations: 0 / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.4921, allocations: 0 / 0.8568 GB, free: 21.89 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.0008037/0.4929, allocations: 499.1 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.4929, allocations: 11.12 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.493, allocations: 24.33 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.4932, allocations: 185.9 kB / 0.8575 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4932, allocations: 11.89 kB / 0.8575 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.4933, allocations: 23.52 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.4936, allocations: 186.9 kB / 0.8577 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4936, allocations: 1.844 kB / 0.8577 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.4936, allocations: 7.016 kB / 0.8577 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4937, allocations: 4.531 kB / 0.8577 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.494, allocations: 147.5 kB / 0.8579 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.4947, allocations: 484 kB / 0.8583 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.4952, allocations: 171.3 kB / 0.8585 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.4953, allocations: 92.88 kB / 0.8586 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.4954, allocations: 2.406 kB / 0.8586 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.4957, allocations: 230.7 kB / 0.8588 GB, free: 20.67 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.4957, allocations: 0.5 kB / 0.8588 GB, free: 20.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001385/0.4971, allocations: 0.701 MB / 0.8595 GB, free: 20.31 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.4971, allocations: 140.7 kB / 0.8596 GB, free: 20.15 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.4973, allocations: 216.6 kB / 0.8598 GB, free: 20.05 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4973, allocations: 31.08 kB / 0.8599 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.4974, allocations: 134.6 kB / 0.86 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.4974, allocations: 74.27 kB / 0.8601 GB, free: 19.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/0.4975, allocations: 54.27 kB / 0.8601 GB, free: 19.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.4976, allocations: 336.7 kB / 0.8604 GB, free: 19.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.4978, allocations: 146.1 kB / 0.8606 GB, free: 19.47 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.498, allocations: 224.9 kB / 0.8608 GB, free: 19.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.4984, allocations: 278.8 kB / 0.8611 GB, free: 19.14 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4984, allocations: 0 / 0.8611 GB, free: 19.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005346/0.4989, allocations: 392.2 kB / 0.8614 GB, free: 18.96 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.499, allocations: 63.78 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.499, allocations: 7.688 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.499, allocations: 3.219 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.4992, allocations: 51.03 kB / 0.8616 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4992, allocations: 5.422 kB / 0.8616 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.4994, allocations: 17.73 kB / 0.8616 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.4994, allocations: 13.75 kB / 0.8616 GB, free: 18.89 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.0001556/0.4996, allocations: 174.9 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.4996, allocations: 21.95 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.4997, allocations: 31.05 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4997, allocations: 1.906 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4997, allocations: 5.562 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4997, allocations: 1.406 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/0.5004, allocations: 0.5419 MB / 0.8623 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5004, allocations: 0 / 0.8623 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.5006, allocations: 38.7 kB / 0.8624 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5006, allocations: 3.375 kB / 0.8624 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.5006, allocations: 9 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5006, allocations: 10.44 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5006, allocations: 0.7812 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/0.5012, allocations: 496.7 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.5013, allocations: 23.72 kB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.5013, allocations: 6.719 kB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.5015, allocations: 19.08 kB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.5016, allocations: 19.03 kB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.5016, allocations: 4.781 kB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001232/0.5017, allocations: 163 kB / 0.8631 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5017, allocations: 0 / 0.8631 GB, free: 18.06 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002982/0.502, allocations: 56.97 kB / 0.8632 GB, free: 18.05 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.0001016/0.5021, allocations: 119.3 kB / 0.8633 GB, free: 17.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005704/0.5027, allocations: 385.4 kB / 0.8636 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5027, allocations: 0 / 0.8636 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.503, allocations: 170.2 kB / 0.8638 GB, free: 17.63 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.5035, allocations: 68.66 kB / 0.8639 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.5047, allocations: 0.675 MB / 0.8645 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.5048, allocations: 127.9 kB / 0.8646 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.5049, allocations: 27 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.5049, allocations: 24.23 kB / 0.8647 GB, free: 17.22 MB / 490.8 MB Notification: Performance of SimCode: time 4.01e-07/0.5049, allocations: 0 / 0.8647 GB, free: 17.22 MB / 490.8 MB Notification: Performance of Templates: time 0.008447/0.5134, allocations: 3.642 MB / 0.8682 GB, free: 16.91 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.656421005027369]