Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.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.0006859/0.0006859, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009779/0.001664, 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.0006998/0.0006998, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001748, 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 1.008/1.008, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08944/1.098, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7494/0.7494, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03078/0.7802, 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.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.5446 GB, free: 30.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.547e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002005/0.00202, allocations: 2.389 MB / 0.5469 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006934/0.002713, allocations: 0.6271 MB / 0.5475 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.002789, allocations: 0 / 0.5475 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.273e-05/0.002852, allocations: 27.72 kB / 0.5475 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.002973, allocations: 87.25 kB / 0.5476 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.003104, allocations: 47.88 kB / 0.5477 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.003289, allocations: 270.6 kB / 0.5479 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.00339, allocations: 46.47 kB / 0.548 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.00355, allocations: 180.1 kB / 0.5482 GB, free: 26.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.003697, allocations: 83.73 kB / 0.5482 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.003721, allocations: 16 kB / 0.5482 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.387e-05/0.003745, allocations: 16 kB / 0.5483 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.003771, allocations: 31.86 kB / 0.5483 GB, free: 26.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/0.003823, allocations: 63.88 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.003969, allocations: 131.5 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.476e-05/0.003984, allocations: 4 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003985, allocations: 4 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.003993, allocations: 0 / 0.5485 GB, free: 26.14 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.0005075/0.0045, allocations: 0.4976 MB / 0.549 GB, free: 25.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.004527, allocations: 8.031 kB / 0.549 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.004569, allocations: 20.92 kB / 0.549 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.004706, allocations: 174.1 kB / 0.5492 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.004722, allocations: 12.61 kB / 0.5492 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.004746, allocations: 12.38 kB / 0.5492 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.004899, allocations: 159.5 kB / 0.5493 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.00491, allocations: 3.953 kB / 0.5493 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.004923, allocations: 7.984 kB / 0.5494 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004929, allocations: 4 kB / 0.5494 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.00501, allocations: 82.28 kB / 0.5494 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.005357, allocations: 357 kB / 0.5498 GB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.005512, allocations: 112.2 kB / 0.5499 GB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.005548, allocations: 65.98 kB / 0.5499 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.005555, allocations: 7.938 kB / 0.55 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.005684, allocations: 196.3 kB / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.005686, allocations: 0 / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005207/0.006206, allocations: 0.5119 MB / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.006237, allocations: 162.2 kB / 0.5508 GB, free: 23.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.006318, allocations: 199.2 kB / 0.551 GB, free: 23.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.00633, allocations: 33.7 kB / 0.551 GB, free: 23.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.006361, allocations: 120.4 kB / 0.5511 GB, free: 23.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.006389, allocations: 71.41 kB / 0.5512 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.006434, allocations: 55.17 kB / 0.5513 GB, free: 23.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.006468, allocations: 334.8 kB / 0.5516 GB, free: 22.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.006517, allocations: 97 kB / 0.5517 GB, free: 22.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.006578, allocations: 177.3 kB / 0.5518 GB, free: 22.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.006675, allocations: 215.7 kB / 0.552 GB, free: 22.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.006676, allocations: 0 / 0.552 GB, free: 22.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001434/0.006819, allocations: 261 kB / 0.5523 GB, free: 21.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.006849, allocations: 62.06 kB / 0.5523 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006853, allocations: 4.219 kB / 0.5524 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006865, allocations: 4 kB / 0.5524 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.007025, allocations: 69.86 kB / 0.5524 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.007029, allocations: 4 kB / 0.5524 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.007109, allocations: 23.86 kB / 0.5524 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.007119, allocations: 12 kB / 0.5525 GB, free: 21.64 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: 8 * 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 (31): * Single equations (assignments): 29 * 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 9.662e-05/0.007216, allocations: 170.3 kB / 0.5526 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.007238, allocations: 19.98 kB / 0.5526 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.007265, allocations: 25.95 kB / 0.5527 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.007266, allocations: 0 / 0.5527 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007268, allocations: 0 / 0.5527 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.007271, allocations: 0 / 0.5527 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.007505, allocations: 374.3 kB / 0.553 GB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.007507, allocations: 3.938 kB / 0.553 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.007623, allocations: 51.03 kB / 0.5531 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.007641, allocations: 15.86 kB / 0.5531 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007644, allocations: 4 kB / 0.5531 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.007653, allocations: 4 kB / 0.5531 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007655, allocations: 0 / 0.5531 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007655, allocations: 0 / 0.5531 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.007828, allocations: 360 kB / 0.5534 GB, free: 20.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.007851, allocations: 8 kB / 0.5534 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.007926, allocations: 11.98 kB / 0.5535 GB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.00797, allocations: 23.98 kB / 0.5535 GB, free: 20.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.007979, allocations: 11.94 kB / 0.5535 GB, free: 20.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.267e-05/0.008021, allocations: 55.11 kB / 0.5535 GB, free: 20.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008021, allocations: 0 / 0.5535 GB, free: 20.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.008184, allocations: 63.98 kB / 0.5536 GB, free: 20.38 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 (18): * Single equations (assignments): 15 * 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 5.931e-05/0.008244, allocations: 84.42 kB / 0.5537 GB, free: 20.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.0084, allocations: 308.6 kB / 0.554 GB, free: 19.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.008407, allocations: 7.938 kB / 0.554 GB, free: 19.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.008475, allocations: 146.5 kB / 0.5541 GB, free: 19.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.008754, allocations: 0.52 MB / 0.5546 GB, free: 19.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/0.01402, allocations: 0.5581 MB / 0.5552 GB, free: 18.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.1e-05/0.01405, allocations: 80.31 kB / 0.5553 GB, free: 18.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.31e-05/0.01413, allocations: 21.95 kB / 0.5553 GB, free: 18.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.01425, allocations: 115.3 kB / 0.5554 GB, free: 18.34 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01425, allocations: 0 / 0.5554 GB, free: 18.34 MB / 410.7 MB Notification: Performance of Templates: time 0.004422/0.01868, allocations: 3.774 MB / 0.5591 GB, free: 14.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.593698674812913]