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.0009348/0.0009348, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002194, allocations: 440 kB / 10.41 MB, free: 284 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.0009023/0.0009023, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002068, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8993/0.8993, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08228/0.9816, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7237/0.7237, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02962/0.7533, allocations: 21.05 MB / 0.5433 GB, free: 31.47 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.563e-06/1.563e-06, allocations: 0 / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.135e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.06 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Lithium2): time 0.003812/0.003834, allocations: 3.274 MB / 0.5479 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.005083, allocations: 0.7439 MB / 0.5486 GB, free: 26.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.005221, allocations: 4 kB / 0.5486 GB, free: 26.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.97e-05/0.005321, allocations: 39.58 kB / 0.5486 GB, free: 25.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.005551, allocations: 123 kB / 0.5487 GB, free: 25.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.00575, allocations: 87.78 kB / 0.5488 GB, free: 25.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.006099, allocations: 433.9 kB / 0.5492 GB, free: 25.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.006248, allocations: 73.55 kB / 0.5493 GB, free: 25.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.006513, allocations: 261.5 kB / 0.5496 GB, free: 25.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.006731, allocations: 127.6 kB / 0.5497 GB, free: 24.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.00677, allocations: 32 kB / 0.5497 GB, free: 24.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.524e-05/0.006816, allocations: 32 kB / 0.5497 GB, free: 24.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.00686, allocations: 47.81 kB / 0.5498 GB, free: 24.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.006952, allocations: 99.88 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.007184, allocations: 219.2 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.007194, allocations: 0 / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007196, allocations: 3.984 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.007204, allocations: 4 kB / 0.5501 GB, free: 24.47 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.0007316/0.007935, allocations: 0.6356 MB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.007971, allocations: 19.88 kB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.008039, allocations: 36.91 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.008253, allocations: 197.5 kB / 0.551 GB, free: 23.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.008276, allocations: 20.81 kB / 0.551 GB, free: 23.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.008315, allocations: 24.38 kB / 0.551 GB, free: 23.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.008611, allocations: 250.2 kB / 0.5512 GB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.008627, allocations: 0 / 0.5512 GB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.008645, allocations: 8 kB / 0.5513 GB, free: 23.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.008654, allocations: 7.984 kB / 0.5513 GB, free: 23.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.008817, allocations: 150.5 kB / 0.5514 GB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/0.009504, allocations: 469.9 kB / 0.5519 GB, free: 22.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.009768, allocations: 183.8 kB / 0.552 GB, free: 22.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/0.009845, allocations: 102.5 kB / 0.5521 GB, free: 22.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.009859, allocations: 7.938 kB / 0.5521 GB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.01009, allocations: 323.4 kB / 0.5524 GB, free: 21.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.01009, allocations: 0 / 0.5524 GB, free: 21.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.000968/0.01106, allocations: 0.8438 MB / 0.5533 GB, free: 20.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.01112, allocations: 273 kB / 0.5535 GB, free: 20.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.01126, allocations: 229 kB / 0.5537 GB, free: 20.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.01129, allocations: 41.64 kB / 0.5538 GB, free: 20.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.01134, allocations: 137.3 kB / 0.5539 GB, free: 20.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.01141, allocations: 115 kB / 0.554 GB, free: 20.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.01149, allocations: 74.16 kB / 0.5541 GB, free: 19.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.01154, allocations: 342.8 kB / 0.5544 GB, free: 19.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.01165, allocations: 147.9 kB / 0.5546 GB, free: 19.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.01177, allocations: 262.8 kB / 0.5548 GB, free: 19.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.01199, allocations: 338.3 kB / 0.5551 GB, free: 18.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.012, allocations: 3.938 kB / 0.5551 GB, free: 18.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003262/0.01232, allocations: 388.5 kB / 0.5555 GB, free: 18.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.01237, allocations: 89.09 kB / 0.5556 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.01238, allocations: 4 kB / 0.5556 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.0124, allocations: 8.344 kB / 0.5556 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.01271, allocations: 103.9 kB / 0.5557 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.01272, allocations: 11.98 kB / 0.5557 GB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.01287, allocations: 12 kB / 0.5557 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.01289, allocations: 19.98 kB / 0.5557 GB, free: 18.07 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.0001635/0.01305, allocations: 227.6 kB / 0.556 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.0131, allocations: 35.97 kB / 0.556 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.01315, allocations: 30.95 kB / 0.556 GB, free: 17.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.01315, allocations: 4 kB / 0.556 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01316, allocations: 0 / 0.556 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01316, allocations: 0 / 0.556 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.01354, allocations: 0.5447 MB / 0.5566 GB, free: 17.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01354, allocations: 0 / 0.5566 GB, free: 17.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.01373, allocations: 79.86 kB / 0.5566 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.01378, allocations: 31.81 kB / 0.5567 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01379, allocations: 0 / 0.5567 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.0138, allocations: 15.98 kB / 0.5567 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01381, allocations: 0 / 0.5567 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01381, allocations: 11.88 kB / 0.5567 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.01408, allocations: 0.5199 MB / 0.5572 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.01412, allocations: 19.25 kB / 0.5572 GB, free: 16.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.01422, allocations: 11.98 kB / 0.5572 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.01427, allocations: 39.88 kB / 0.5573 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01428, allocations: 7.984 kB / 0.5573 GB, free: 16.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.484e-05/0.01434, allocations: 82.72 kB / 0.5574 GB, free: 16.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01434, allocations: 0 / 0.5574 GB, free: 16.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000191/0.01453, allocations: 88 kB / 0.5574 GB, free: 16.22 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 8.443e-05/0.01461, allocations: 100.2 kB / 0.5575 GB, free: 16.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.01485, allocations: 492.8 kB / 0.558 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.01486, allocations: 4 kB / 0.558 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01498, allocations: 287.4 kB / 0.5583 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.01535, allocations: 0.7115 MB / 0.559 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.246/0.2613, allocations: 0.7677 MB / 0.5597 GB, free: 84.27 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.469e-05/0.2614, allocations: 99.39 kB / 0.5598 GB, free: 84.19 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001846/0.2616, allocations: 33.8 kB / 0.5599 GB, free: 84.19 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.2618, allocations: 154.5 kB / 0.56 GB, free: 84.15 MB / 410.8 MB Notification: Performance of SimCode: time 1.192e-06/0.2618, allocations: 0 / 0.56 GB, free: 84.15 MB / 410.8 MB Notification: Performance of Templates: time 0.00901/0.2708, allocations: 5.538 MB / 0.5654 GB, free: 83.27 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: 3.59151485003531]