Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.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.0007329/0.0007329, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009376/0.001671, 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.0007237/0.0007237, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009514/0.001675, 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.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.17, allocations: 53.67 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.882/0.882, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04092/0.9229, allocations: 21.04 MB / 0.5431 GB, free: 31.98 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_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin") translateModel(Pharmacolibrary.Examples.PK_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.361e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Gentamicin): time 0.002387/0.00241, allocations: 2.225 MB / 0.5466 GB, free: 28.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007138/0.003124, allocations: 0.5648 MB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.742e-05/0.003221, allocations: 0 / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.188e-05/0.003303, allocations: 19.78 kB / 0.5472 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.003425, allocations: 63.48 kB / 0.5472 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.003545, allocations: 47.83 kB / 0.5473 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.003762, allocations: 211 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.003897, allocations: 34.61 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.004072, allocations: 131.8 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.004207, allocations: 63.8 kB / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.004242, allocations: 16 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.004262, allocations: 12 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.004294, allocations: 19.94 kB / 0.5477 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.004354, allocations: 55.88 kB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.004546, allocations: 107.6 kB / 0.5479 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.106e-05/0.004567, allocations: 0 / 0.5479 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004568, allocations: 0 / 0.5479 GB, free: 27.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.394e-05/0.004592, allocations: 0 / 0.5479 GB, free: 27.11 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007679/0.005359, allocations: 453.6 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.00541, allocations: 11.89 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.005465, allocations: 20.92 kB / 0.5484 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.005651, allocations: 149.5 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.005674, allocations: 12.38 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.005703, allocations: 16.38 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.005895, allocations: 141.7 kB / 0.5487 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.005909, allocations: 192 / 0.5487 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.005923, allocations: 8.359 kB / 0.5487 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.005933, allocations: 7.938 kB / 0.5487 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/0.006022, allocations: 65.67 kB / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.006437, allocations: 248 kB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.006663, allocations: 116.1 kB / 0.5491 GB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.006702, allocations: 58.48 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.006713, allocations: 7.984 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.006905, allocations: 188.4 kB / 0.5493 GB, free: 25.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.883e-06/0.006907, allocations: 0 / 0.5493 GB, free: 25.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006785/0.007585, allocations: 492.7 kB / 0.5498 GB, free: 24.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.007636, allocations: 144.5 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.007719, allocations: 159 kB / 0.5501 GB, free: 24.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.007733, allocations: 29.7 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.007778, allocations: 117.1 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.007813, allocations: 59.47 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.007865, allocations: 49.91 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.007922, allocations: 334.7 kB / 0.5507 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.007979, allocations: 100.9 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.878e-05/0.008068, allocations: 157 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.008187, allocations: 200.9 kB / 0.5511 GB, free: 23.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008189, allocations: 0 / 0.5511 GB, free: 23.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001524/0.008341, allocations: 247 kB / 0.5513 GB, free: 23.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.008382, allocations: 63.39 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.00839, allocations: 4 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.008403, allocations: 4.141 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.008575, allocations: 63.91 kB / 0.5515 GB, free: 23.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.008581, allocations: 7.938 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.008649, allocations: 11.98 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.008659, allocations: 8 kB / 0.5515 GB, free: 23.03 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: singleDose.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: 6 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,central.rising,$PRE.central.rising,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001277/0.008787, allocations: 159.5 kB / 0.5516 GB, free: 22.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.008813, allocations: 15.98 kB / 0.5516 GB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.008846, allocations: 25.12 kB / 0.5517 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008848, allocations: 0 / 0.5517 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.008851, allocations: 4 kB / 0.5517 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.008858, allocations: 7.922 kB / 0.5517 GB, free: 22.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.009114, allocations: 356.2 kB / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.009117, allocations: 0 / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.009247, allocations: 39.91 kB / 0.5521 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.009264, allocations: 15.89 kB / 0.5521 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.009268, allocations: 4 kB / 0.5521 GB, free: 22.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.00928, allocations: 15.92 kB / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009282, allocations: 4 kB / 0.5521 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.009285, allocations: 0 / 0.5521 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.009482, allocations: 336.4 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.009506, allocations: 11.98 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-05/0.009569, allocations: 11.94 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.009618, allocations: 19.97 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.009625, allocations: 4 kB / 0.5525 GB, free: 21.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.728e-05/0.009652, allocations: 36.81 kB / 0.5525 GB, free: 21.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009652, allocations: 0 / 0.5525 GB, free: 21.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.009799, allocations: 52 kB / 0.5525 GB, free: 21.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (singleDose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,singleDose.pulse.T_start,singleDose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (singleDose.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 (17): * Single equations (assignments): 14 * 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 8.234e-05/0.009881, allocations: 92.34 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.01009, allocations: 294.2 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.01009, allocations: 4 kB / 0.5529 GB, free: 21.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.01016, allocations: 145 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.01038, allocations: 67.14 kB / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.01444, allocations: 490.3 kB / 0.5536 GB, free: 20.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.01448, allocations: 71.86 kB / 0.5537 GB, free: 20.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.71e-05/0.01454, allocations: 25.5 kB / 0.5537 GB, free: 20.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.01464, allocations: 107.3 kB / 0.5538 GB, free: 20.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01465, allocations: 0 / 0.5538 GB, free: 20.46 MB / 410.7 MB Notification: Performance of Templates: time 0.01335/0.02799, allocations: 2.909 MB / 0.5566 GB, free: 17.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.070653288625181]