Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.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.0009015/0.0009015, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.00228, 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.0007711/0.0007711, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.00181, 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.9654/0.9654, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1079/1.073, allocations: 53.66 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.7753/0.7753, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03639/0.8117, 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.Examples.PK_1C_Lithium2,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2") translateModel(Pharmacolibrary.Examples.PK_1C_Lithium2,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.812e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Lithium2): time 0.002714/0.002733, allocations: 3.276 MB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.003531, allocations: 0.7322 MB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/0.003623, allocations: 4 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.264e-05/0.003705, allocations: 43.5 kB / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.003854, allocations: 127 kB / 0.5486 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.003989, allocations: 87.83 kB / 0.5487 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.004229, allocations: 433.8 kB / 0.5491 GB, free: 25.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004351, allocations: 67.58 kB / 0.5491 GB, free: 25.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.004548, allocations: 261.5 kB / 0.5494 GB, free: 25.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.00472, allocations: 123.7 kB / 0.5495 GB, free: 25.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.004754, allocations: 32 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.931e-05/0.004783, allocations: 28 kB / 0.5496 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.004819, allocations: 55.8 kB / 0.5496 GB, free: 25.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.004895, allocations: 103.8 kB / 0.5497 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.005086, allocations: 223.2 kB / 0.5499 GB, free: 25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.005098, allocations: 3.984 kB / 0.5499 GB, free: 25 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005099, allocations: 0 / 0.5499 GB, free: 25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.005108, allocations: 0 / 0.5499 GB, free: 25 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005373/0.005645, allocations: 0.6318 MB / 0.5506 GB, free: 24.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.005673, allocations: 19.88 kB / 0.5506 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.005719, allocations: 40.91 kB / 0.5506 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.005872, allocations: 201.5 kB / 0.5508 GB, free: 24.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.005889, allocations: 16.88 kB / 0.5508 GB, free: 24.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.005916, allocations: 20.38 kB / 0.5508 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.006096, allocations: 246.5 kB / 0.5511 GB, free: 23.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.006107, allocations: 4 kB / 0.5511 GB, free: 23.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.006121, allocations: 8 kB / 0.5511 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.006126, allocations: 4 kB / 0.5511 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.006231, allocations: 145.6 kB / 0.5512 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.006674, allocations: 480.7 kB / 0.5517 GB, free: 23.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.006853, allocations: 181.2 kB / 0.5519 GB, free: 22.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.006906, allocations: 104.5 kB / 0.552 GB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.006916, allocations: 7.938 kB / 0.552 GB, free: 22.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.007077, allocations: 315.5 kB / 0.5523 GB, free: 22.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.007079, allocations: 4 kB / 0.5523 GB, free: 22.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006836/0.007762, allocations: 0.8286 MB / 0.5531 GB, free: 21.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.007802, allocations: 217.6 kB / 0.5533 GB, free: 21.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.007893, allocations: 225 kB / 0.5535 GB, free: 20.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.007909, allocations: 33.7 kB / 0.5535 GB, free: 20.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.007945, allocations: 145.3 kB / 0.5537 GB, free: 20.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.007989, allocations: 115 kB / 0.5538 GB, free: 20.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.008045, allocations: 74.14 kB / 0.5539 GB, free: 20.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.00808, allocations: 342.8 kB / 0.5542 GB, free: 20.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.008145, allocations: 151.9 kB / 0.5543 GB, free: 20.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/0.00823, allocations: 250.9 kB / 0.5546 GB, free: 19.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.008377, allocations: 342.3 kB / 0.5549 GB, free: 19.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008379, allocations: 3.938 kB / 0.5549 GB, free: 19.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002019/0.008581, allocations: 388.7 kB / 0.5553 GB, free: 18.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.008616, allocations: 93.09 kB / 0.5554 GB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008621, allocations: 0 / 0.5554 GB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.008629, allocations: 7.938 kB / 0.5554 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.008853, allocations: 120.7 kB / 0.5555 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.008858, allocations: 4 kB / 0.5555 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-05/0.008953, allocations: 20.22 kB / 0.5555 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.008969, allocations: 19.98 kB / 0.5555 GB, free: 18.68 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,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,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0001239/0.009092, allocations: 219.5 kB / 0.5557 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.00912, allocations: 35.97 kB / 0.5558 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.009156, allocations: 30.95 kB / 0.5558 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.009158, allocations: 4 kB / 0.5558 GB, free: 18.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.00916, allocations: 0 / 0.5558 GB, free: 18.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.009164, allocations: 4 kB / 0.5558 GB, free: 18.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.009517, allocations: 0.5408 MB / 0.5563 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.009519, allocations: 4 kB / 0.5563 GB, free: 17.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.009691, allocations: 75.88 kB / 0.5564 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.009744, allocations: 30.88 kB / 0.5564 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.009747, allocations: 3.984 kB / 0.5564 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.009761, allocations: 8 kB / 0.5564 GB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.009763, allocations: 4 kB / 0.5565 GB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.009766, allocations: 7.938 kB / 0.5565 GB, free: 17.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.01002, allocations: 0.5237 MB / 0.557 GB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.01005, allocations: 16 kB / 0.557 GB, free: 17.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.01013, allocations: 15.98 kB / 0.557 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.01018, allocations: 23.95 kB / 0.557 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01019, allocations: 11.98 kB / 0.557 GB, free: 17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.648e-05/0.01024, allocations: 86.66 kB / 0.5571 GB, free: 16.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01024, allocations: 0 / 0.5571 GB, free: 16.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.01042, allocations: 84 kB / 0.5572 GB, free: 16.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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 7.153e-05/0.01049, allocations: 104.3 kB / 0.5573 GB, free: 16.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.0107, allocations: 492 kB / 0.5578 GB, free: 16.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.01071, allocations: 4 kB / 0.5578 GB, free: 16.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.0108, allocations: 266.8 kB / 0.558 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.01107, allocations: 144.3 kB / 0.5582 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007246/0.01832, allocations: 0.7927 MB / 0.5589 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.643e-05/0.01835, allocations: 93.12 kB / 0.559 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.798e-05/0.01845, allocations: 34.97 kB / 0.5591 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.01861, allocations: 153.3 kB / 0.5592 GB, free: 14.62 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01861, allocations: 0 / 0.5592 GB, free: 14.62 MB / 410.7 MB Notification: Performance of Templates: time 0.3309/0.3495, allocations: 5.544 MB / 0.5646 GB, free: 83.94 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.106032653711736]