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.001046/0.001046, allocations: 112.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.0009929/0.0009929, allocations: 216.4 kB / 23 MB, free: 2.961 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.057/1.057, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.829/0.829, allocations: 312.3 MB / 0.6108 GB, free: 97.57 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: 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.00233/0.00233, allocations: 74.8 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.146, allocations: 73.99 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): time 0.002852/0.1489, allocations: 2.32 MB / 0.8444 GB, free: 8.004 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005198/0.1541, allocations: 6.533 MB / 0.8508 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.1542, allocations: 3.938 kB / 0.8508 GB, free: 1.465 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1543, allocations: 28.28 kB / 0.8508 GB, free: 1.438 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1545, allocations: 80.53 kB / 0.8509 GB, free: 1.359 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1547, allocations: 52.47 kB / 0.851 GB, free: 1.309 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.1549, allocations: 255.3 kB / 0.8512 GB, free: 1.059 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.155, allocations: 40.56 kB / 0.8512 GB, free: 1.02 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1551, allocations: 100.1 kB / 0.8513 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.1553, allocations: 100.1 kB / 0.8514 GB, free: 0.8242 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.1553, allocations: 20.69 kB / 0.8514 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.571e-05/0.1554, allocations: 16 kB / 0.8515 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.1554, allocations: 40.41 kB / 0.8515 GB, free: 0.75 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.1555, allocations: 87.55 kB / 0.8516 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1557, allocations: 199.8 kB / 0.8518 GB, free: 480 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1557, allocations: 0 / 0.8518 GB, free: 480 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1557, allocations: 0.5625 kB / 0.8518 GB, free: 480 kB / 474.8 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1557, allocations: 0.5 kB / 0.8518 GB, free: 480 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.0007166/0.1564, allocations: 494.7 kB / 0.8522 GB, free: 15.94 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1564, allocations: 12.03 kB / 0.8523 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.1565, allocations: 21.42 kB / 0.8523 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.1567, allocations: 187.7 kB / 0.8525 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1567, allocations: 16.55 kB / 0.8525 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.1568, allocations: 20.55 kB / 0.8525 GB, free: 15.66 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.157, allocations: 190.9 kB / 0.8527 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.157, allocations: 0.6562 kB / 0.8527 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.157, allocations: 4 kB / 0.8527 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1571, allocations: 4.531 kB / 0.8527 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.1573, allocations: 147.4 kB / 0.8528 GB, free: 15.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.1578, allocations: 486.7 kB / 0.8533 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.1582, allocations: 177 kB / 0.8535 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1583, allocations: 91.67 kB / 0.8535 GB, free: 14.51 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.1583, allocations: 0 / 0.8535 GB, free: 14.51 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.1585, allocations: 236.9 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.1585, allocations: 0.5 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009562/0.1595, allocations: 0.6894 MB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.1595, allocations: 141.1 kB / 0.8546 GB, free: 13.33 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1597, allocations: 215 kB / 0.8548 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1597, allocations: 34.39 kB / 0.8548 GB, free: 13.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.1598, allocations: 129.1 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.1598, allocations: 79.41 kB / 0.855 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.1599, allocations: 54.28 kB / 0.8551 GB, free: 12.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.16, allocations: 338.8 kB / 0.8554 GB, free: 12.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1601, allocations: 145.8 kB / 0.8555 GB, free: 12.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1603, allocations: 217.9 kB / 0.8557 GB, free: 12.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3021/0.4624, allocations: 282.8 kB / 0.856 GB, free: 30.31 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4624, allocations: 7.609 kB / 0.856 GB, free: 30.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000502/0.4629, allocations: 390.7 kB / 0.8564 GB, free: 30.15 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.4629, allocations: 66.62 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4629, allocations: 3.844 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.4629, allocations: 4.938 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.4631, allocations: 50.75 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.4631, allocations: 7.578 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.4632, allocations: 19.39 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.4633, allocations: 8.891 kB / 0.8565 GB, free: 30.09 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.0002053/0.4635, allocations: 170.8 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.4635, allocations: 26.55 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.4635, allocations: 27 kB / 0.8568 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4635, allocations: 2.469 kB / 0.8568 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4635, allocations: 0 / 0.8568 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4636, allocations: 7.266 kB / 0.8568 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.4641, allocations: 0.5363 MB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4641, allocations: 0 / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.4642, allocations: 39.47 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4642, allocations: 2.594 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4642, allocations: 7.172 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4642, allocations: 4.562 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4642, allocations: 0.75 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.4647, allocations: 0.4912 MB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.4647, allocations: 19.19 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.4647, allocations: 9.562 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.4648, allocations: 15.62 kB / 0.8579 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.4649, allocations: 21.14 kB / 0.8579 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4649, allocations: 11.03 kB / 0.8579 GB, free: 29.41 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.916e-05/0.465, allocations: 154.5 kB / 0.858 GB, free: 29.33 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.465, allocations: 5.859 kB / 0.858 GB, free: 29.33 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001973/0.4652, allocations: 60.61 kB / 0.8581 GB, free: 29.33 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.399e-05/0.4653, allocations: 118.8 kB / 0.8582 GB, free: 29.24 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.4656, allocations: 381 kB / 0.8586 GB, free: 29.01 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4656, allocations: 0 / 0.8586 GB, free: 29.01 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4658, allocations: 171.8 kB / 0.8587 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.4661, allocations: 66.19 kB / 0.8588 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009429/0.467, allocations: 0.7033 MB / 0.8595 GB, free: 28.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.514e-05/0.4671, allocations: 127.8 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.4672, allocations: 24.62 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of SimCode: time 9.42e-07/0.4672, allocations: 0.6875 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of Templates: time 0.004624/0.4718, allocations: 2.939 MB / 0.8625 GB, free: 28.3 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AB06_Ganciclovir.Ganciclovir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.874273009598255]