Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002687/0.0002687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006188/0.0008876, allocations: 0 / 0, free: 0 / 0 " [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.000216/0.000216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006355/0.0008515, allocations: 0 / 0, free: 0 / 0 " [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 0.1111/0.1111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.03755/0.1487, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.461/0.461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.02255/0.4835, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=1440,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=1440,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 8.12e-07/8.12e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.13e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C): time 0.00633/0.006351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002396/0.008747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.009034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.00035/0.009384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001012/0.0104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.01086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0009096/0.01177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.01211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.01317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.01365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.01375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.01387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.01402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003646/0.01439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.01516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001446/0.01531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.934e-06/0.01531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.149e-05/0.01532, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001578/0.0169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.639e-05/0.01699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.01717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.01773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.076e-05/0.01782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.01795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007643/0.01871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.01875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.01883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.01885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/0.01937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.02134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.02189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.02212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.02214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/0.02273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=137): time 7.465e-06/0.02274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=147): time 0.003441/0.02618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.02633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.02662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.02674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.02687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.02717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.02742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.653e-05/0.02745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.02772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.02807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.0287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.02872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=212) (initialization): time 0.0009842/0.0297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.02978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.02979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.02982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.03083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-05/0.03087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.03136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/0.03145, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 3 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real infusionDose.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: 40 * Number of states: 0 () * Number of discrete variables: 90 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,central_M1.Cmin,$PRE.central_M1.Cmin,central_M1.Cmax,$PRE.central_M1.Cmax,peripheral_M1.Cmin,$PRE.peripheral_M1.Cmin,peripheral_M1.Cmax,$PRE.peripheral_M1.Cmax,peripheral2_M1.Cmin,$PRE.peripheral2_M1.Cmin,peripheral2_M1.Cmax,$PRE.peripheral2_M1.Cmax,central_M2.Cmin,$PRE.central_M2.Cmin,central_M2.Cmax,$PRE.central_M2.Cmax,peripheral_M2.Cmin,$PRE.peripheral_M2.Cmin,peripheral_M2.Cmax,$PRE.peripheral_M2.Cmax,peripheral2_M2.Cmin,$PRE.peripheral2_M2.Cmin,peripheral2_M2.Cmax,$PRE.peripheral2_M2.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,infusionDose.pulse.count,$PRE.infusionDose.pulse.count,infusionDose.pulse.T_start,$PRE.infusionDose.pulse.T_start,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,peripheral2_M2.rising,$PRE.peripheral2_M2.rising,peripheral_M2.rising,$PRE.peripheral_M2.rising,central_M2.rising,$PRE.central_M2.rising,peripheral2_M1.rising,$PRE.peripheral2_M1.rising,peripheral_M1.rising,$PRE.peripheral_M1.rising,central_M1.rising,$PRE.central_M1.rising,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,central.rising,$PRE.central.rising,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 12 * 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.0005033/0.03196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.03212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.0332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.03322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.03323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.03324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.03523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.03524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/0.03605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.0364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.03641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.0365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/0.03652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.03652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.03798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/0.03831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.03868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.03894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.03902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001806/0.0392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.622e-05/0.03922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001002/0.04022, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 26 (central.C,central.AUC,peripheral.C,peripheral.AUC,peripheral2.C,peripheral2.AUC,central_M1.C,central_M1.AUC,peripheral_M1.C,peripheral_M1.AUC,peripheral2_M1.C,peripheral2_M1.AUC,central_M2.C,central_M2.AUC,peripheral_M2.C,peripheral_M2.AUC,peripheral2_M2.C,peripheral2_M2.AUC,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC,CL_1.MExc,CL_m1.MExc,CL_m2.MExc,infusionDose.TotalCumulativeMass) * Number of discrete variables: 56 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,central.Cmax,central.Cmin,central.rising,peripheral.Cmax,peripheral.Cmin,peripheral.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising,central_M1.Cmax,central_M1.Cmin,central_M1.rising,peripheral_M1.Cmax,peripheral_M1.Cmin,peripheral_M1.rising,peripheral2_M1.Cmax,peripheral2_M1.Cmin,peripheral2_M1.rising,central_M2.Cmax,central_M2.Cmin,central_M2.rising,peripheral_M2.Cmax,peripheral_M2.Cmin,peripheral_M2.rising,peripheral2_M2.Cmax,peripheral2_M2.Cmin,peripheral2_M2.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,infusionDose.pulse.T_start,infusionDose.pulse.count) * Number of discrete states: 52 (infusionDose.pulse.count,periodicDose.pulse.count,peripheral.Cmin,$whenCondition20,peripheral.Cmax,$whenCondition19,peripheral.rising,peripheral2.Cmin,$whenCondition18,peripheral2.Cmax,$whenCondition17,peripheral2.rising,peripheral_M1.Cmin,$whenCondition14,peripheral_M1.Cmax,$whenCondition13,peripheral_M1.rising,peripheral2_M1.Cmin,$whenCondition12,peripheral2_M1.Cmax,$whenCondition11,peripheral2_M1.rising,central_M1.Cmin,$whenCondition16,central_M1.Cmax,$whenCondition15,central_M1.rising,peripheral_M2.Cmin,$whenCondition8,peripheral_M2.Cmax,$whenCondition7,peripheral_M2.rising,peripheral2_M2.Cmin,$whenCondition6,peripheral2_M2.Cmax,$whenCondition5,peripheral2_M2.rising,central_M2.Cmin,$whenCondition10,central_M2.Cmax,$whenCondition9,central_M2.rising,central.Cmin,$whenCondition22,central.Cmax,$whenCondition21,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition4,periodicDose.route.absorptionLumen.Cmax,$whenCondition3,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 4 * 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.0003358/0.04056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001081/0.04164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.455e-05/0.04166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0006017/0.04226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.04339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/0.06053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.06076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005194/0.06128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007216/0.062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.3e-05/0.06206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003895/0.06595, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 1.128872619010508]