Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.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.0008565/0.0008565, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00112/0.001977, 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.0009186/0.0009186, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.002057, 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 1.068/1.068, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1514/1.22, 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.9362/0.9362, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05039/0.9866, allocations: 21.05 MB / 0.5432 GB, free: 31.97 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_2C_IVMidazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam") translateModel(Pharmacolibrary.Examples.PK_2C_IVMidazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.296e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_2C_IVMidazolam): time 0.00355/0.003583, allocations: 2.79 MB / 0.5472 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.005261, allocations: 1.246 MB / 0.5484 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.005413, allocations: 0 / 0.5484 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.00573, allocations: 219.1 kB / 0.5486 GB, free: 26.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.006124, allocations: 246.6 kB / 0.5488 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.006401, allocations: 135.5 kB / 0.5489 GB, free: 26.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.006809, allocations: 446.1 kB / 0.5494 GB, free: 25.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.00697, allocations: 50.86 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.007276, allocations: 297.5 kB / 0.5497 GB, free: 25.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.007501, allocations: 191.5 kB / 0.5499 GB, free: 25.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.007533, allocations: 24 kB / 0.5499 GB, free: 25.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.00766, allocations: 59.98 kB / 0.55 GB, free: 24.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.007749, allocations: 71.67 kB / 0.55 GB, free: 24.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.007841, allocations: 95.75 kB / 0.5501 GB, free: 24.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.008201, allocations: 283 kB / 0.5504 GB, free: 24.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-05/0.008231, allocations: 0 / 0.5504 GB, free: 24.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.008233, allocations: 0 / 0.5504 GB, free: 24.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.767e-05/0.008261, allocations: 0 / 0.5504 GB, free: 24.54 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008743/0.009135, allocations: 0.7238 MB / 0.5511 GB, free: 23.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.009171, allocations: 15.89 kB / 0.5511 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.009248, allocations: 36.91 kB / 0.5512 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.009574, allocations: 242.3 kB / 0.5514 GB, free: 23.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.009609, allocations: 16.36 kB / 0.5514 GB, free: 23.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.009648, allocations: 24.38 kB / 0.5514 GB, free: 23.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.009929, allocations: 239.7 kB / 0.5517 GB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.009948, allocations: 7.922 kB / 0.5517 GB, free: 23.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.009968, allocations: 8 kB / 0.5517 GB, free: 23.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.009977, allocations: 4 kB / 0.5517 GB, free: 23.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.01011, allocations: 138.7 kB / 0.5518 GB, free: 22.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.01077, allocations: 438.5 kB / 0.5522 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.01112, allocations: 247.1 kB / 0.5525 GB, free: 22.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.119e-05/0.0112, allocations: 107.1 kB / 0.5526 GB, free: 22.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.01121, allocations: 4 kB / 0.5526 GB, free: 22.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.01148, allocations: 364.1 kB / 0.5529 GB, free: 21.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.01148, allocations: 0 / 0.5529 GB, free: 21.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009638/0.01244, allocations: 0.8333 MB / 0.5537 GB, free: 20.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.01253, allocations: 251.2 kB / 0.554 GB, free: 20.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.01272, allocations: 329.1 kB / 0.5543 GB, free: 20.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.01275, allocations: 33.7 kB / 0.5543 GB, free: 20.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.01281, allocations: 145.8 kB / 0.5544 GB, free: 19.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.01287, allocations: 123 kB / 0.5546 GB, free: 19.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.01295, allocations: 74.17 kB / 0.5546 GB, free: 19.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.01301, allocations: 362.7 kB / 0.555 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-05/0.01311, allocations: 146.7 kB / 0.5551 GB, free: 19.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.01322, allocations: 248.9 kB / 0.5554 GB, free: 18.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.01344, allocations: 347.5 kB / 0.5557 GB, free: 18.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01344, allocations: 0 / 0.5557 GB, free: 18.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002702/0.01371, allocations: 390.3 kB / 0.5561 GB, free: 18.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.01376, allocations: 97.03 kB / 0.5562 GB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.01377, allocations: 4.281 kB / 0.5562 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01379, allocations: 8 kB / 0.5562 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.01404, allocations: 103.9 kB / 0.5563 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.01405, allocations: 7.938 kB / 0.5563 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.01416, allocations: 19.98 kB / 0.5563 GB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.01418, allocations: 19.94 kB / 0.5563 GB, free: 17.85 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: 11 * Number of states: 0 () * Number of discrete variables: 26 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,$PRE.CTT_MidazolamC.nextTimeEvent,$whenCondition1,CTT_MidazolamC.nextTimeEventScaled,$PRE.CTT_MidazolamC.nextTimeEventScaled,CTT_MidazolamC.nextTimeEvent,central.rising,$PRE.central.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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.0001751/0.01435, allocations: 227 kB / 0.5565 GB, free: 17.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.01439, allocations: 39.91 kB / 0.5566 GB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.0145, allocations: 93.67 kB / 0.5567 GB, free: 17.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.01451, allocations: 7.984 kB / 0.5567 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01451, allocations: 0 / 0.5567 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.01452, allocations: 0 / 0.5567 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.01497, allocations: 0.5431 MB / 0.5572 GB, free: 16.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01497, allocations: 0 / 0.5572 GB, free: 16.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.01518, allocations: 75.94 kB / 0.5573 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.01521, allocations: 27.77 kB / 0.5573 GB, free: 16.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01522, allocations: 7.312 kB / 0.5573 GB, free: 16.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.01524, allocations: 11.98 kB / 0.5573 GB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01524, allocations: 4 kB / 0.5573 GB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.01525, allocations: 3.938 kB / 0.5573 GB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.0156, allocations: 0.5527 MB / 0.5579 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.01564, allocations: 12 kB / 0.5579 GB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.01574, allocations: 15.98 kB / 0.5579 GB, free: 16.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.01581, allocations: 39.94 kB / 0.5579 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.01583, allocations: 8 kB / 0.5579 GB, free: 16.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.696e-05/0.01593, allocations: 147.5 kB / 0.5581 GB, free: 15.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01593, allocations: 4 kB / 0.5581 GB, free: 15.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.01618, allocations: 95.94 kB / 0.5582 GB, free: 15.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,central.C,central.AUC,elim.MExc) * Number of discrete variables: 16 ($whenCondition1,CTT_MidazolamC.nextTimeEvent,CTT_MidazolamC.nextTimeEventScaled,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 13 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition6,peripheral.Cmax,$whenCondition5,peripheral.rising,central.Cmin,$whenCondition4,central.Cmax,$whenCondition3,central.rising,CTT_MidazolamC.nextTimeEvent,CTT_MidazolamC.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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 0.001546/0.01772, allocations: 0.5666 MB / 0.5587 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.01807, allocations: 0.494 MB / 0.5592 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/0.01808, allocations: 4 kB / 0.5592 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3786/0.3966, allocations: 273.8 kB / 0.5595 GB, free: 84.18 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.3973, allocations: 128.4 kB / 0.5596 GB, free: 84.18 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.4035, allocations: 0.8166 MB / 0.5604 GB, free: 83.77 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.4036, allocations: 116.7 kB / 0.5605 GB, free: 83.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.4039, allocations: 39.03 kB / 0.5605 GB, free: 83.7 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.4041, allocations: 143.1 kB / 0.5607 GB, free: 83.66 MB / 410.8 MB Notification: Performance of SimCode: time 2.855e-06/0.4041, allocations: 1.031 kB / 0.5607 GB, free: 83.66 MB / 410.8 MB Notification: Performance of Templates: time 0.01334/0.4175, allocations: 5.842 MB / 0.5664 GB, free: 82.64 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.723709631711245]