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.0008787/0.0008787, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001921, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.00079/0.00079, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009477/0.001738, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08957/1.095, allocations: 53.67 MB / 243.3 MB, free: 15.58 MB / 250.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.7782/0.7782, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03059/0.8087, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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,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: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.255e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir): time 0.003432/0.003454, allocations: 2.511 MB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005529/0.008984, allocations: 6.692 MB / 0.5536 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.009104, allocations: 7.938 kB / 0.5536 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.797e-05/0.009192, allocations: 23.72 kB / 0.5536 GB, free: 21.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.009407, allocations: 79.33 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.009579, allocations: 59.8 kB / 0.5537 GB, free: 21.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.009831, allocations: 270.5 kB / 0.554 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.009967, allocations: 42.53 kB / 0.554 GB, free: 20.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.01019, allocations: 176.3 kB / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.01039, allocations: 83.72 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.01042, allocations: 20 kB / 0.5543 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.01045, allocations: 16 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.01049, allocations: 27.88 kB / 0.5543 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.01057, allocations: 59.88 kB / 0.5544 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.01077, allocations: 139.5 kB / 0.5545 GB, free: 20.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.01079, allocations: 0 / 0.5545 GB, free: 20.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01079, allocations: 0 / 0.5545 GB, free: 20.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.0108, allocations: 4 kB / 0.5545 GB, free: 20.32 MB / 410.7 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.0007309/0.01153, allocations: 0.4937 MB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.01157, allocations: 15.84 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.01164, allocations: 28.91 kB / 0.5551 GB, free: 19.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.01182, allocations: 183 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.01184, allocations: 12.61 kB / 0.5552 GB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.01188, allocations: 12.38 kB / 0.5553 GB, free: 19.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.01208, allocations: 163.5 kB / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.0121, allocations: 0 / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.01211, allocations: 8 kB / 0.5554 GB, free: 19.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.01212, allocations: 4 kB / 0.5554 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.01223, allocations: 80.64 kB / 0.5555 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.01271, allocations: 365 kB / 0.5558 GB, free: 18.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.01293, allocations: 108.1 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.01298, allocations: 58.55 kB / 0.556 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.01299, allocations: 4 kB / 0.556 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.01317, allocations: 192.3 kB / 0.5562 GB, free: 18.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.01317, allocations: 0 / 0.5562 GB, free: 18.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006854/0.01385, allocations: 0.5084 MB / 0.5567 GB, free: 17.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.01389, allocations: 170.2 kB / 0.5568 GB, free: 17.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.01401, allocations: 202 kB / 0.557 GB, free: 17.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.01403, allocations: 41.69 kB / 0.5571 GB, free: 17.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.01407, allocations: 112.4 kB / 0.5572 GB, free: 17.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.01411, allocations: 75.45 kB / 0.5573 GB, free: 17.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.01418, allocations: 47.19 kB / 0.5573 GB, free: 17.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.01424, allocations: 338.8 kB / 0.5576 GB, free: 16.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.01431, allocations: 96.98 kB / 0.5577 GB, free: 16.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.821e-05/0.0144, allocations: 177.3 kB / 0.5579 GB, free: 16.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.01454, allocations: 213.6 kB / 0.5581 GB, free: 16.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01454, allocations: 3.625 kB / 0.5581 GB, free: 16.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002189/0.01476, allocations: 260.2 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.0148, allocations: 59.41 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01481, allocations: 4.219 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.01483, allocations: 8 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.01505, allocations: 67.89 kB / 0.5585 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.01505, allocations: 4 kB / 0.5585 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.01517, allocations: 15.98 kB / 0.5585 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.01519, allocations: 11.94 kB / 0.5585 GB, free: 15.8 MB / 410.7 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.0001376/0.01532, allocations: 173.6 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.01535, allocations: 27.92 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.0154, allocations: 25.95 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.0154, allocations: 0 / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0154, allocations: 0 / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.01543, allocations: 23.84 kB / 0.5587 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.01544, allocations: 7.938 kB / 0.5588 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.01548, allocations: 7.984 kB / 0.5588 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.01555, allocations: 12 kB / 0.5588 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.01561, allocations: 23.95 kB / 0.5588 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002559/0.01587, allocations: 267 kB / 0.5591 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003861/0.01625, allocations: 423.7 kB / 0.5595 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2479/0.2642, allocations: 79.03 kB / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001009/0.2643, allocations: 59.05 kB / 0.5596 GB, free: 79.54 MB / 410.8 MB Notification: Performance of Backend: time 1.8e-07/0.2643, allocations: 0 / 0.5596 GB, free: 79.54 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004771/0.2647, allocations: 336.2 kB / 0.5599 GB, free: 79.3 MB / 410.8 MB Notification: Performance of SimCode: time 0.007657/0.2724, allocations: 1.12 MB / 0.561 GB, free: 78.49 MB / 410.8 MB Notification: Performance of Templates: time 0.006855/0.2792, allocations: 3.86 MB / 0.5648 GB, free: 78.34 MB / 410.8 MB " [Timeout remaining time 660] 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7382707707583904]