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.0006792/0.0006792, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009054/0.001585, allocations: 443.8 kB / 10.3 MB, free: 400 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.0006994/0.0006994, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008864/0.001586, allocations: 463.6 kB / 11.64 MB, free: 2.527 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 0.978/0.978, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07912/1.057, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7511/0.7511, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02965/0.7808, allocations: 21.05 MB / 0.5431 GB, free: 31.96 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.044e-06/2.044e-06, allocations: 0 / 0.5443 GB, free: 30.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.466e-05, allocations: 6.25 kB / 0.5443 GB, free: 30.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten): time 0.007459/0.007484, allocations: 2.388 MB / 0.5467 GB, free: 28.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.0086, allocations: 0.6231 MB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.00869, allocations: 0 / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.186e-05/0.008752, allocations: 27.66 kB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.008953, allocations: 91.31 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.009118, allocations: 51.81 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.009375, allocations: 270.6 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.009504, allocations: 34.55 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.009769, allocations: 180.2 kB / 0.5479 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.009972, allocations: 91.7 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.01001, allocations: 16 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.862e-05/0.01005, allocations: 20 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003058/0.01311, allocations: 27.88 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.977e-05/0.0132, allocations: 63.88 kB / 0.5481 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.01342, allocations: 143.4 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-05/0.01344, allocations: 0 / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01344, allocations: 0 / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.01345, allocations: 0 / 0.5483 GB, free: 26.68 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.0007822/0.01424, allocations: 0.4976 MB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.01427, allocations: 15.89 kB / 0.5488 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.01433, allocations: 20.92 kB / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.01453, allocations: 179.3 kB / 0.5489 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.01456, allocations: 12.61 kB / 0.549 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.01459, allocations: 12.38 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.01481, allocations: 137.8 kB / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.01483, allocations: 192 / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.01484, allocations: 8.359 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.01486, allocations: 7.938 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.01498, allocations: 81.23 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.01549, allocations: 280.6 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.01574, allocations: 124.2 kB / 0.5496 GB, free: 25.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.0158, allocations: 62.53 kB / 0.5496 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.01582, allocations: 7.984 kB / 0.5496 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003224/0.01905, allocations: 192.5 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.485e-06/0.01905, allocations: 0 / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007837/0.01983, allocations: 0.5235 MB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.01987, allocations: 140.4 kB / 0.5505 GB, free: 24.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.01999, allocations: 191.2 kB / 0.5507 GB, free: 23.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.02001, allocations: 33.7 kB / 0.5507 GB, free: 23.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.02006, allocations: 116.3 kB / 0.5508 GB, free: 23.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.02011, allocations: 83.28 kB / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/0.02018, allocations: 57.67 kB / 0.5509 GB, free: 23.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.02022, allocations: 334.8 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.0203, allocations: 96.94 kB / 0.5513 GB, free: 23.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/0.02039, allocations: 164.5 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.02055, allocations: 217.5 kB / 0.5517 GB, free: 22.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02056, allocations: 0 / 0.5517 GB, free: 22.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002463/0.0208, allocations: 263.9 kB / 0.552 GB, free: 22.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.02084, allocations: 67.44 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.02085, allocations: 0 / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.02086, allocations: 4 kB / 0.552 GB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.02111, allocations: 67.89 kB / 0.5521 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.02112, allocations: 0 / 0.5521 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.02125, allocations: 22.73 kB / 0.5521 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.02127, allocations: 8 kB / 0.5521 GB, free: 22.31 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.0001351/0.0214, allocations: 171.6 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.02144, allocations: 23.98 kB / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.02165, allocations: 197.2 kB / 0.5525 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.02166, allocations: 7.984 kB / 0.5525 GB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02166, allocations: 0 / 0.5525 GB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.02166, allocations: 0 / 0.5525 GB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.0251, allocations: 390.2 kB / 0.5529 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02511, allocations: 0 / 0.5529 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.02534, allocations: 51.97 kB / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.02538, allocations: 11.91 kB / 0.5529 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.02538, allocations: 4 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.0254, allocations: 11.92 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.02541, allocations: 4 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02541, allocations: 0 / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.02572, allocations: 368.1 kB / 0.5533 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.02575, allocations: 8 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.0259, allocations: 19.61 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.02597, allocations: 23.95 kB / 0.5534 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.02599, allocations: 8 kB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.594e-05/0.02605, allocations: 59.09 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02605, allocations: 0 / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.02634, allocations: 60 kB / 0.5535 GB, free: 20.82 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 9.199e-05/0.02643, allocations: 88.36 kB / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.02669, allocations: 308.6 kB / 0.5539 GB, free: 20.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.0267, allocations: 384 / 0.5539 GB, free: 20.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.02681, allocations: 161.8 kB / 0.554 GB, free: 20.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.02718, allocations: 81.83 kB / 0.5541 GB, free: 20.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02167/0.04885, allocations: 0.5976 MB / 0.5547 GB, free: 19.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.825e-05/0.04893, allocations: 125.6 kB / 0.5548 GB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.04915, allocations: 123.3 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.04915, allocations: 0 / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of Templates: time 0.00382/0.05297, allocations: 2.991 MB / 0.5578 GB, free: 16.27 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 > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.191788397729397]