Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.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.001032/0.001032, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002224/0.003256, 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.001176/0.001176, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002793, 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.08/1.08, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09439/1.175, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.7819/0.7819, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02807/0.81, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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.DevModels.SingleDoseLumen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen") translateModel(Pharmacolibrary.DevModels.SingleDoseLumen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5446 GB, free: 30.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.16e-05, allocations: 10.25 kB / 0.5446 GB, free: 30.19 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseLumen): time 0.003131/0.003152, allocations: 3.043 MB / 0.5475 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.004288, allocations: 0.7554 MB / 0.5483 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.004401, allocations: 4 kB / 0.5483 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.613e-05/0.004487, allocations: 39.56 kB / 0.5483 GB, free: 26.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.00471, allocations: 127 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.004923, allocations: 91.75 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.005191, allocations: 429.9 kB / 0.5489 GB, free: 25.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.005424, allocations: 234.6 kB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.00565, allocations: 267.5 kB / 0.5494 GB, free: 25.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.005813, allocations: 163.5 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.005851, allocations: 36 kB / 0.5496 GB, free: 25.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-05/0.005887, allocations: 36 kB / 0.5496 GB, free: 24.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.005924, allocations: 51.81 kB / 0.5497 GB, free: 24.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.005993, allocations: 107.9 kB / 0.5498 GB, free: 24.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.006172, allocations: 239.1 kB / 0.55 GB, free: 24.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.006181, allocations: 0 / 0.55 GB, free: 24.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006182, allocations: 0 / 0.55 GB, free: 24.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.006188, allocations: 0 / 0.55 GB, free: 24.59 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005401/0.006728, allocations: 0.6277 MB / 0.5506 GB, free: 23.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.389e-05/0.006752, allocations: 8.031 kB / 0.5506 GB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.006801, allocations: 44.91 kB / 0.5507 GB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.006933, allocations: 170.2 kB / 0.5508 GB, free: 23.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.006946, allocations: 21.03 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.006974, allocations: 32.31 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.007205, allocations: 335 kB / 0.5512 GB, free: 23.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.007217, allocations: 4.188 kB / 0.5512 GB, free: 23.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.007235, allocations: 16.36 kB / 0.5512 GB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.007242, allocations: 11.94 kB / 0.5512 GB, free: 23.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.007359, allocations: 123.1 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.008003, allocations: 0.5903 MB / 0.5519 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.008227, allocations: 163.8 kB / 0.5521 GB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.008275, allocations: 69.98 kB / 0.5522 GB, free: 22.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.008292, allocations: 4 kB / 0.5522 GB, free: 22.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.008448, allocations: 222.2 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000102/0.00855, allocations: 35.83 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.644e-06/0.008552, allocations: 4 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006005/0.009152, allocations: 0.6165 MB / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.009184, allocations: 174.1 kB / 0.5532 GB, free: 21.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.009255, allocations: 182.3 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.009271, allocations: 37.7 kB / 0.5534 GB, free: 20.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.009309, allocations: 161.8 kB / 0.5535 GB, free: 20.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.009346, allocations: 107.1 kB / 0.5537 GB, free: 20.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.009407, allocations: 77.44 kB / 0.5537 GB, free: 20.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.142e-05/0.009438, allocations: 334.8 kB / 0.554 GB, free: 20.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.009499, allocations: 113.7 kB / 0.5542 GB, free: 20.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.00958, allocations: 215.3 kB / 0.5544 GB, free: 19.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.009714, allocations: 275.3 kB / 0.5546 GB, free: 19.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.009716, allocations: 0 / 0.5546 GB, free: 19.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001878/0.009903, allocations: 324.7 kB / 0.5549 GB, free: 19.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.009935, allocations: 69.89 kB / 0.555 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.00994, allocations: 7.938 kB / 0.555 GB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.009951, allocations: 4 kB / 0.555 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.01018, allocations: 115.8 kB / 0.5551 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.01018, allocations: 4.219 kB / 0.5551 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.01027, allocations: 19.98 kB / 0.5551 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.01029, allocations: 12 kB / 0.5552 GB, free: 18.86 MB / 410.7 MB Warning: Assuming fixed start value for the following 3 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real GIT.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real artery.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" 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: 13 (GILumen.Cmin,$PRE.GILumen.Cmin,GILumen.Cmax,$PRE.GILumen.Cmax,GILumen.rising,$PRE.GILumen.rising,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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.0001111/0.0104, allocations: 179.8 kB / 0.5553 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.01042, allocations: 31.91 kB / 0.5554 GB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.01059, allocations: 236.3 kB / 0.5556 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0106, allocations: 4 kB / 0.5556 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.0106, allocations: 0 / 0.5556 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.0106, allocations: 0 / 0.5556 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.01087, allocations: 439.1 kB / 0.556 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01087, allocations: 3.938 kB / 0.556 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.01103, allocations: 63.27 kB / 0.5561 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.01105, allocations: 19.89 kB / 0.5561 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01105, allocations: 7.984 kB / 0.5561 GB, free: 17.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01106, allocations: 8 kB / 0.5561 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.01106, allocations: 2.422 kB / 0.5561 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01107, allocations: 0 / 0.5561 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.01129, allocations: 417.7 kB / 0.5565 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.01131, allocations: 11.98 kB / 0.5565 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.0114, allocations: 11.94 kB / 0.5565 GB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01144, allocations: 23.95 kB / 0.5565 GB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01145, allocations: 11.98 kB / 0.5566 GB, free: 17.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.01149, allocations: 62.38 kB / 0.5566 GB, free: 17.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01149, allocations: 0 / 0.5566 GB, free: 17.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000171/0.01166, allocations: 80 kB / 0.5567 GB, free: 17.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (singleDose.TotalCumulativeMass,GILumen.C,GILumen.AUC,GIT.M,GIT.AUC,artery.M,artery.AUC) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,singleDose.pulse.T_start,singleDose.pulse.count,GILumen.Cmax,GILumen.Cmin,GILumen.rising) * Number of discrete states: 6 (singleDose.pulse.count,GILumen.Cmin,$whenCondition2,GILumen.Cmax,$whenCondition1,GILumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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 7.115e-05/0.01173, allocations: 92.41 kB / 0.5568 GB, free: 17.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.01192, allocations: 358.9 kB / 0.5571 GB, free: 16.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.01192, allocations: 4 kB / 0.5571 GB, free: 16.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.01201, allocations: 185.8 kB / 0.5573 GB, free: 16.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.0123, allocations: 438.3 kB / 0.5577 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/0.01991, allocations: 0.6667 MB / 0.5584 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.01995, allocations: 91.14 kB / 0.5585 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.667e-05/0.02005, allocations: 42.95 kB / 0.5585 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.02022, allocations: 131.3 kB / 0.5586 GB, free: 15 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02022, allocations: 0 / 0.5586 GB, free: 15 MB / 410.7 MB Notification: Performance of Templates: time 0.2484/0.2686, allocations: 4.829 MB / 0.5633 GB, free: 84.02 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1277259942144156]