Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.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.00196/0.00196, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002283/0.002283, allocations: 218.4 kB / 22.25 MB, free: 3.578 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.65/1.65, allocations: 230.6 MB / 256 MB, free: 9.586 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.475/1.475, allocations: 316.8 MB / 0.6144 GB, free: 93.48 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir") [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.004085/0.004085, allocations: 73.25 kB / 0.775 GB, free: 14.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1863, allocations: 73.99 MB / 0.8473 GB, free: 5.141 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir): time 0.004386/0.1906, allocations: 2.32 MB / 0.8495 GB, free: 2.82 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3534/0.544, allocations: 6.517 MB / 0.8559 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.5442, allocations: 5.219 kB / 0.8559 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.5444, allocations: 23.28 kB / 0.8559 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.5447, allocations: 83.34 kB / 0.856 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.5449, allocations: 57.14 kB / 0.8561 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.5452, allocations: 257.1 kB / 0.8563 GB, free: 21.67 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.5454, allocations: 35.8 kB / 0.8564 GB, free: 21.67 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.5455, allocations: 95.08 kB / 0.8564 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.5458, allocations: 104.6 kB / 0.8565 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.5458, allocations: 17 kB / 0.8566 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.5458, allocations: 17.91 kB / 0.8566 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.5459, allocations: 36.77 kB / 0.8566 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.546, allocations: 94.62 kB / 0.8567 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.5462, allocations: 193.8 kB / 0.8569 GB, free: 21.57 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5462, allocations: 0 / 0.8569 GB, free: 21.57 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5462, allocations: 1.812 kB / 0.8569 GB, free: 21.57 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.5462, allocations: 0 / 0.8569 GB, free: 21.57 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.0008867/0.5471, allocations: 0.4929 MB / 0.8574 GB, free: 21.16 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5472, allocations: 10.28 kB / 0.8574 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.5472, allocations: 23.89 kB / 0.8574 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.5475, allocations: 187.5 kB / 0.8576 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5475, allocations: 7.859 kB / 0.8576 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.5475, allocations: 24.02 kB / 0.8576 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.5479, allocations: 189.4 kB / 0.8578 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5479, allocations: 0 / 0.8578 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.5479, allocations: 5.875 kB / 0.8578 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.5479, allocations: 6.844 kB / 0.8578 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.5483, allocations: 149.1 kB / 0.8579 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007212/0.549, allocations: 484.1 kB / 0.8584 GB, free: 20.58 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.5495, allocations: 172.8 kB / 0.8586 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.5496, allocations: 97.33 kB / 0.8587 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.5496, allocations: 4.125 kB / 0.8587 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.5499, allocations: 225.7 kB / 0.8589 GB, free: 20.34 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.5499, allocations: 0 / 0.8589 GB, free: 20.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001376/0.5513, allocations: 0.6964 MB / 0.8596 GB, free: 19.98 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.5514, allocations: 137.8 kB / 0.8597 GB, free: 19.82 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.5516, allocations: 218.5 kB / 0.8599 GB, free: 19.72 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.5516, allocations: 33.73 kB / 0.8599 GB, free: 19.69 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.5517, allocations: 133.1 kB / 0.8601 GB, free: 19.59 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.5517, allocations: 69.2 kB / 0.8601 GB, free: 19.55 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.5518, allocations: 54.42 kB / 0.8602 GB, free: 19.53 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.5519, allocations: 344.3 kB / 0.8605 GB, free: 19.21 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.5521, allocations: 142.3 kB / 0.8606 GB, free: 19.14 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.5523, allocations: 223.8 kB / 0.8609 GB, free: 18.97 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.5527, allocations: 285.4 kB / 0.8611 GB, free: 18.8 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5527, allocations: 0 / 0.8611 GB, free: 18.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005362/0.5532, allocations: 387.1 kB / 0.8615 GB, free: 18.62 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.5532, allocations: 64.31 kB / 0.8616 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5532, allocations: 5.5 kB / 0.8616 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5533, allocations: 4.625 kB / 0.8616 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.5535, allocations: 50.42 kB / 0.8616 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5535, allocations: 4.469 kB / 0.8616 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.5536, allocations: 27.05 kB / 0.8616 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.5537, allocations: 9 kB / 0.8617 GB, free: 18.55 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.0001529/0.5538, allocations: 185.9 kB / 0.8618 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.5538, allocations: 27.2 kB / 0.8619 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.5539, allocations: 26.06 kB / 0.8619 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5539, allocations: 1.969 kB / 0.8619 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5539, allocations: 4.484 kB / 0.8619 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5539, allocations: 0.5 kB / 0.8619 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.5546, allocations: 0.5348 MB / 0.8624 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5546, allocations: 0 / 0.8624 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.5548, allocations: 39.83 kB / 0.8625 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5548, allocations: 0 / 0.8625 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.5548, allocations: 6.062 kB / 0.8625 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5548, allocations: 4.531 kB / 0.8625 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5548, allocations: 2.625 kB / 0.8625 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.5554, allocations: 0.4904 MB / 0.8629 GB, free: 17.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.5555, allocations: 20.17 kB / 0.863 GB, free: 17.81 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.5555, allocations: 5.609 kB / 0.863 GB, free: 17.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.5557, allocations: 17.25 kB / 0.863 GB, free: 17.81 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.5557, allocations: 29.41 kB / 0.863 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.5558, allocations: 10.03 kB / 0.863 GB, free: 17.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001153/0.5559, allocations: 159.4 kB / 0.8632 GB, free: 17.72 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.5559, allocations: 0 / 0.8632 GB, free: 17.72 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003008/0.5562, allocations: 54.28 kB / 0.8632 GB, free: 17.72 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 9.544e-05/0.5563, allocations: 113.4 kB / 0.8633 GB, free: 17.63 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.5568, allocations: 384.1 kB / 0.8637 GB, free: 17.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5568, allocations: 1.375 kB / 0.8637 GB, free: 17.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.557, allocations: 170.2 kB / 0.8639 GB, free: 17.3 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.5575, allocations: 82.05 kB / 0.8639 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.5587, allocations: 0.6785 MB / 0.8646 GB, free: 16.98 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.5588, allocations: 127 kB / 0.8647 GB, free: 16.9 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.5589, allocations: 22.17 kB / 0.8647 GB, free: 16.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.5589, allocations: 23.77 kB / 0.8648 GB, free: 16.89 MB / 490.8 MB Notification: Performance of SimCode: time 5.61e-07/0.5589, allocations: 4 kB / 0.8648 GB, free: 16.89 MB / 490.8 MB Notification: Performance of Templates: time 0.008372/0.5673, allocations: 3.643 MB / 0.8683 GB, free: 16.56 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.533185126958415]