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.0006817/0.0006817, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008847/0.001566, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006796/0.0006796, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008561/0.001536, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9186/0.9186, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.02, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.7583/0.7583, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02613/0.7844, allocations: 21.04 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 1.873e-06/1.873e-06, allocations: 0 / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.836e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten): time 0.002494/0.002512, allocations: 2.4 MB / 0.5468 GB, free: 28.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.003479, allocations: 0.623 MB / 0.5474 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/0.003576, allocations: 0 / 0.5474 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.003623, allocations: 31.72 kB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.003774, allocations: 87.25 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.003914, allocations: 47.94 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.004088, allocations: 270.5 kB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.004184, allocations: 46.47 kB / 0.5478 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.004348, allocations: 176.2 kB / 0.548 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.004498, allocations: 91.7 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.004521, allocations: 20 kB / 0.5481 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.209e-05/0.004543, allocations: 16 kB / 0.5481 GB, free: 26.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.004567, allocations: 27.88 kB / 0.5481 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.00462, allocations: 63.88 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004765, allocations: 131.5 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.00478, allocations: 4 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.004781, allocations: 0 / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.004799, allocations: 0 / 0.5483 GB, free: 26.64 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.0005426/0.005342, allocations: 0.5054 MB / 0.5488 GB, free: 26.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.005373, allocations: 11.89 kB / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.005416, allocations: 28.86 kB / 0.5489 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.005583, allocations: 171.4 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.0056, allocations: 8.609 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.005624, allocations: 16.38 kB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.005776, allocations: 133.7 kB / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.005788, allocations: 8.172 kB / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.005797, allocations: 384 / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.005804, allocations: 7.938 kB / 0.5492 GB, free: 25.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.005886, allocations: 89.23 kB / 0.5493 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.006267, allocations: 276 kB / 0.5495 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.006448, allocations: 119 kB / 0.5497 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.006483, allocations: 62.53 kB / 0.5497 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.006498, allocations: 8 kB / 0.5497 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.006634, allocations: 204.4 kB / 0.5499 GB, free: 24.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.006636, allocations: 7.984 kB / 0.5499 GB, free: 24.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005352/0.007171, allocations: 0.5157 MB / 0.5504 GB, free: 24.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.007203, allocations: 136.5 kB / 0.5506 GB, free: 24.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.007291, allocations: 191.2 kB / 0.5507 GB, free: 23.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.007306, allocations: 33.69 kB / 0.5508 GB, free: 23.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.007343, allocations: 116.2 kB / 0.5509 GB, free: 23.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.00738, allocations: 79.34 kB / 0.551 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.007432, allocations: 53.67 kB / 0.551 GB, free: 23.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.007476, allocations: 338.8 kB / 0.5513 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.141e-05/0.007527, allocations: 101 kB / 0.5514 GB, free: 23.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.007591, allocations: 168.4 kB / 0.5516 GB, free: 22.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.007696, allocations: 209.5 kB / 0.5518 GB, free: 22.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007697, allocations: 0 / 0.5518 GB, free: 22.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001529/0.00785, allocations: 268 kB / 0.552 GB, free: 22.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.007879, allocations: 63.41 kB / 0.5521 GB, free: 22.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007884, allocations: 4 kB / 0.5521 GB, free: 22.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.007893, allocations: 0 / 0.5521 GB, free: 22.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.008059, allocations: 67.89 kB / 0.5522 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.008063, allocations: 4 kB / 0.5522 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.008139, allocations: 16.17 kB / 0.5522 GB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.00815, allocations: 16 kB / 0.5522 GB, free: 22.27 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.0001059/0.008256, allocations: 167.6 kB / 0.5524 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.008278, allocations: 15.98 kB / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.008423, allocations: 209.2 kB / 0.5526 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008425, allocations: 0 / 0.5526 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.008427, allocations: 7.938 kB / 0.5526 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.008431, allocations: 0 / 0.5526 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.008694, allocations: 393.7 kB / 0.553 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008696, allocations: 0 / 0.553 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.00884, allocations: 47.91 kB / 0.553 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.008861, allocations: 15.91 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008864, allocations: 0 / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.008876, allocations: 11.92 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.008879, allocations: 0 / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00888, allocations: 0 / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.009062, allocations: 368.2 kB / 0.5534 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.009086, allocations: 15.94 kB / 0.5534 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.009161, allocations: 15.98 kB / 0.5534 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.009202, allocations: 19.95 kB / 0.5534 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.00921, allocations: 4 kB / 0.5534 GB, free: 20.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.009249, allocations: 59.09 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009249, allocations: 0 / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.009414, allocations: 60 kB / 0.5536 GB, free: 20.78 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 6.762e-05/0.009482, allocations: 88.42 kB / 0.5536 GB, free: 20.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.009647, allocations: 316.5 kB / 0.5539 GB, free: 20.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.009653, allocations: 4 kB / 0.5539 GB, free: 20.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.009716, allocations: 153.8 kB / 0.5541 GB, free: 20.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.009943, allocations: 87.48 kB / 0.5542 GB, free: 20.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/0.01533, allocations: 0.5881 MB / 0.5548 GB, free: 19.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.01536, allocations: 80.33 kB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.76e-05/0.01544, allocations: 30.27 kB / 0.5549 GB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.01556, allocations: 115.3 kB / 0.555 GB, free: 19.22 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01556, allocations: 7.938 kB / 0.555 GB, free: 19.21 MB / 410.7 MB Notification: Performance of Templates: time 0.004903/0.02046, allocations: 3.919 MB / 0.5588 GB, free: 15.39 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.3412184482440352]