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.001271/0.001271, 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.001375/0.001375, allocations: 220.4 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.117/1.117, 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.836/0.836, allocations: 312.3 MB / 0.6108 GB, free: 97.62 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.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.00174/0.00174, allocations: 74.09 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1595, allocations: 73.98 MB / 0.8421 GB, free: 10.32 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir_Li2020v2_final_model): time 0.00331/0.1628, allocations: 2.31 MB / 0.8444 GB, free: 8.008 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007959/0.1707, allocations: 6.517 MB / 0.8507 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.171, allocations: 4.531 kB / 0.8507 GB, free: 1.484 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.1712, allocations: 28.44 kB / 0.8508 GB, free: 1.457 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1714, allocations: 84.09 kB / 0.8509 GB, free: 1.375 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1717, allocations: 44.52 kB / 0.8509 GB, free: 1.332 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.172, allocations: 267.3 kB / 0.8512 GB, free: 1.07 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.1722, allocations: 36.58 kB / 0.8512 GB, free: 1.035 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1723, allocations: 100.2 kB / 0.8513 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.1725, allocations: 100.1 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1725, allocations: 16 kB / 0.8514 GB, free: 0.8242 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.637e-05/0.1726, allocations: 16.69 kB / 0.8514 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.1726, allocations: 44.33 kB / 0.8515 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.1727, allocations: 87.59 kB / 0.8515 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1729, allocations: 195.8 kB / 0.8517 GB, free: 500 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1729, allocations: 0.5 kB / 0.8517 GB, free: 500 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1729, allocations: 3.938 kB / 0.8517 GB, free: 496 kB / 474.8 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.173, allocations: 0.5938 kB / 0.8517 GB, free: 496 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.0008551/0.1738, allocations: 497.3 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1739, allocations: 12.03 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.1739, allocations: 21.42 kB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1742, allocations: 195 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1742, allocations: 6.547 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.1742, allocations: 16.48 kB / 0.8524 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1745, allocations: 195 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1745, allocations: 0.9688 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1745, allocations: 7.938 kB / 0.8526 GB, free: 15.47 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1745, allocations: 4 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.1748, allocations: 151.6 kB / 0.8528 GB, free: 15.31 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.1755, allocations: 482.6 kB / 0.8532 GB, free: 14.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.1759, allocations: 177.3 kB / 0.8534 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.176, allocations: 95.05 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.176, allocations: 0.625 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.1764, allocations: 231.4 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.605e-06/0.1764, allocations: 0.5625 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001514/0.1779, allocations: 0.704 MB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.178, allocations: 140.5 kB / 0.8545 GB, free: 13.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1782, allocations: 207.6 kB / 0.8547 GB, free: 13.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1782, allocations: 34.33 kB / 0.8548 GB, free: 13.09 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.1783, allocations: 136.4 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.1783, allocations: 72.06 kB / 0.855 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.1784, allocations: 53.7 kB / 0.855 GB, free: 12.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1785, allocations: 335.4 kB / 0.8553 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1787, allocations: 145.6 kB / 0.8555 GB, free: 12.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.1789, allocations: 226 kB / 0.8557 GB, free: 12.06 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3372/0.5161, allocations: 276.6 kB / 0.856 GB, free: 30.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5162, allocations: 0 / 0.856 GB, free: 30.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005436/0.5167, allocations: 393.7 kB / 0.8563 GB, free: 30.12 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.5167, allocations: 66.64 kB / 0.8564 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5168, allocations: 1.594 kB / 0.8564 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.5168, allocations: 5.562 kB / 0.8564 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.5169, allocations: 53.73 kB / 0.8565 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.517, allocations: 10.19 kB / 0.8565 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.5171, allocations: 17.81 kB / 0.8565 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.5171, allocations: 8.719 kB / 0.8565 GB, free: 30.06 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.0002009/0.5173, allocations: 172.2 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.5174, allocations: 27.28 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.5174, allocations: 22.69 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5174, allocations: 10.64 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5174, allocations: 0 / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5174, allocations: 1.828 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.518, allocations: 0.5421 MB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.518, allocations: 0 / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.5182, allocations: 30.25 kB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.5182, allocations: 5.5 kB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.5182, allocations: 7.547 kB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5182, allocations: 7.875 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5182, allocations: 1.906 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.5187, allocations: 0.4899 MB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.5188, allocations: 21.17 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.5188, allocations: 9.047 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5189, allocations: 11.94 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.519, allocations: 22.19 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.519, allocations: 9.844 kB / 0.8579 GB, free: 29.37 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001092/0.5191, allocations: 162.1 kB / 0.858 GB, free: 29.3 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5191, allocations: 0 / 0.858 GB, free: 29.3 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003008/0.5194, allocations: 57.39 kB / 0.8581 GB, free: 29.3 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.0001115/0.5196, allocations: 121.8 kB / 0.8582 GB, free: 29.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004157/0.52, allocations: 378.8 kB / 0.8585 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.52, allocations: 0 / 0.8585 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.5201, allocations: 170.9 kB / 0.8587 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.5206, allocations: 67.55 kB / 0.8588 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.5217, allocations: 0.7029 MB / 0.8595 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.367e-05/0.5218, allocations: 131.4 kB / 0.8596 GB, free: 28.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.5219, allocations: 20.5 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of SimCode: time 5.62e-07/0.5219, allocations: 0 / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of Templates: time 0.005187/0.527, allocations: 2.95 MB / 0.8625 GB, free: 28.27 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 > 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.29235583730042]