Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.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.00095/0.00095, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002258, allocations: 455.9 kB / 10.35 MB, free: 348 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.001007/0.001007, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002268, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1083/1.117, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.6595/0.6595, allocations: 291.2 MB / 0.5227 GB, free: 52.69 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02785/0.6873, allocations: 21.05 MB / 0.5433 GB, free: 31.71 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.Pharmacokinetic.Models.PK_1C_MichaelisMenten,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.5445 GB, free: 30.44 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.206e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten): time 0.003418/0.00344, allocations: 2.404 MB / 0.5469 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.004522, allocations: 0.6308 MB / 0.5475 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.004615, allocations: 0 / 0.5475 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.093e-05/0.004676, allocations: 31.72 kB / 0.5475 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.004866, allocations: 79.31 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.005024, allocations: 55.88 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.005264, allocations: 270.6 kB / 0.5479 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.005397, allocations: 46.47 kB / 0.5479 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.005634, allocations: 176.2 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.005833, allocations: 83.72 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.005867, allocations: 20 kB / 0.5482 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.38e-05/0.005901, allocations: 16 kB / 0.5482 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.005935, allocations: 27.88 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.006009, allocations: 63.88 kB / 0.5483 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.00621, allocations: 135.5 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.006225, allocations: 4 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.006227, allocations: 4 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.006249, allocations: 0 / 0.5485 GB, free: 26.39 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.0006943/0.006944, allocations: 0.4976 MB / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.006976, allocations: 11.89 kB / 0.5489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.007029, allocations: 24.92 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.00722, allocations: 175.3 kB / 0.5491 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.007245, allocations: 12.61 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.007278, allocations: 16.38 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.007473, allocations: 140.8 kB / 0.5493 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.007488, allocations: 4.172 kB / 0.5493 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.007502, allocations: 8.375 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.007509, allocations: 7.938 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.932e-05/0.007608, allocations: 81.19 kB / 0.5494 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.008066, allocations: 276.6 kB / 0.5497 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.008299, allocations: 127.3 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.008354, allocations: 58.55 kB / 0.5498 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.008371, allocations: 4 kB / 0.5498 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.008549, allocations: 203.5 kB / 0.55 GB, free: 24.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.805e-06/0.008552, allocations: 0 / 0.55 GB, free: 24.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007041/0.009256, allocations: 0.5247 MB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.009294, allocations: 162.2 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.009421, allocations: 195.2 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.009437, allocations: 29.7 kB / 0.5509 GB, free: 23.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.009476, allocations: 116.2 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.009522, allocations: 79.34 kB / 0.5511 GB, free: 23.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.009588, allocations: 53.67 kB / 0.5512 GB, free: 23.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.009627, allocations: 334.8 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.009699, allocations: 101 kB / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.384e-05/0.009783, allocations: 168.4 kB / 0.5517 GB, free: 22.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.009917, allocations: 213.6 kB / 0.5519 GB, free: 22.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.009919, allocations: 0 / 0.5519 GB, free: 22.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002186/0.01014, allocations: 263.7 kB / 0.5522 GB, free: 22.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.01018, allocations: 63.58 kB / 0.5522 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01018, allocations: 8 kB / 0.5523 GB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.01019, allocations: 0 / 0.5523 GB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.01041, allocations: 71.89 kB / 0.5523 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01041, allocations: 4 kB / 0.5523 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01052, allocations: 12 kB / 0.5523 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01054, allocations: 15.98 kB / 0.5524 GB, free: 21.98 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: 7 * 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 (32): * Single equations (assignments): 30 * 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.0001249/0.01066, allocations: 182.8 kB / 0.5525 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.01069, allocations: 19.97 kB / 0.5525 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.01087, allocations: 202.1 kB / 0.5527 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01088, allocations: 0 / 0.5527 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01088, allocations: 4 kB / 0.5527 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01088, allocations: 0 / 0.5527 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.01121, allocations: 390.2 kB / 0.5531 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01121, allocations: 0 / 0.5531 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.01139, allocations: 47.89 kB / 0.5532 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.01142, allocations: 19.91 kB / 0.5532 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01142, allocations: 0 / 0.5532 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.01144, allocations: 11.94 kB / 0.5532 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01144, allocations: 3.359 kB / 0.5532 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01144, allocations: 0 / 0.5532 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.01169, allocations: 372 kB / 0.5536 GB, free: 20.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.01173, allocations: 8 kB / 0.5536 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.01184, allocations: 15.98 kB / 0.5536 GB, free: 20.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.0119, allocations: 15.97 kB / 0.5536 GB, free: 20.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.01191, allocations: 11.92 kB / 0.5536 GB, free: 20.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.01197, allocations: 67.09 kB / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01197, allocations: 0 / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.01222, allocations: 52 kB / 0.5537 GB, free: 20.48 MB / 410.7 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 (21): * Single equations (assignments): 18 * 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.0001/0.01232, allocations: 96.41 kB / 0.5538 GB, free: 20.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.01255, allocations: 314.5 kB / 0.5541 GB, free: 20.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.01256, allocations: 8 kB / 0.5541 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.01267, allocations: 150.5 kB / 0.5543 GB, free: 19.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.01301, allocations: 90.17 kB / 0.5543 GB, free: 19.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008353/0.02136, allocations: 0.5771 MB / 0.5549 GB, free: 19.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.972e-05/0.02141, allocations: 76.33 kB / 0.555 GB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.02156, allocations: 34.31 kB / 0.555 GB, free: 19.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.02177, allocations: 119.3 kB / 0.5551 GB, free: 18.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.02177, allocations: 0 / 0.5551 GB, free: 18.92 MB / 410.7 MB Notification: Performance of Templates: time 0.006919/0.02869, allocations: 3.92 MB / 0.559 GB, free: 15.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1950517324730754]