Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.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.0008126/0.0008126, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.001928, 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.001089/0.001089, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002606, 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.074/1.074, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1172/1.191, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.9309/0.9309, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04854/0.9794, allocations: 21.05 MB / 0.5431 GB, free: 31.96 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_Digoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin") translateModel(Pharmacolibrary.Examples.PK_1C_Digoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.141e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Digoxin): time 0.002776/0.002808, allocations: 2.181 MB / 0.5465 GB, free: 28.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.003778, allocations: 0.5531 MB / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.722e-05/0.003875, allocations: 0 / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.124e-05/0.003956, allocations: 19.8 kB / 0.5471 GB, free: 27.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.004095, allocations: 59.53 kB / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.00425, allocations: 43.84 kB / 0.5472 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.004495, allocations: 203.1 kB / 0.5474 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.004651, allocations: 34.48 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.0049, allocations: 123.7 kB / 0.5475 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.00505, allocations: 59.86 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.005087, allocations: 19.94 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.316e-05/0.00511, allocations: 16 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.005142, allocations: 19.94 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.005198, allocations: 47.94 kB / 0.5477 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.00538, allocations: 107.5 kB / 0.5478 GB, free: 27.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.351e-05/0.005403, allocations: 4 kB / 0.5478 GB, free: 27.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.005405, allocations: 0 / 0.5478 GB, free: 27.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.005425, allocations: 0 / 0.5478 GB, free: 27.17 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.0006436/0.006069, allocations: 437.7 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.00611, allocations: 11.89 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.006158, allocations: 24.92 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.006327, allocations: 142.2 kB / 0.5484 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.006358, allocations: 8.375 kB / 0.5484 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.006385, allocations: 16.31 kB / 0.5484 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.006583, allocations: 146.3 kB / 0.5486 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.006597, allocations: 7.938 kB / 0.5486 GB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.00661, allocations: 4 kB / 0.5486 GB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.006616, allocations: 4 kB / 0.5486 GB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.006702, allocations: 65.67 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.007093, allocations: 251.9 kB / 0.5489 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.007339, allocations: 112.1 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.00738, allocations: 62.53 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.007391, allocations: 0 / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.007573, allocations: 192.3 kB / 0.5492 GB, free: 25.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.007575, allocations: 0 / 0.5492 GB, free: 25.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006751/0.00825, allocations: 0.4964 MB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.008312, allocations: 136.5 kB / 0.5498 GB, free: 24.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.008395, allocations: 150.6 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.008412, allocations: 33.69 kB / 0.55 GB, free: 24.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.008453, allocations: 104.5 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.008491, allocations: 67.45 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.008539, allocations: 45.92 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.008587, allocations: 326.8 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.008645, allocations: 93.7 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.631e-05/0.008711, allocations: 167.5 kB / 0.5508 GB, free: 23.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.008814, allocations: 193.3 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008816, allocations: 0 / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001605/0.008977, allocations: 255 kB / 0.5512 GB, free: 23.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.009019, allocations: 66.41 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.009027, allocations: 3.938 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.00904, allocations: 4 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.009219, allocations: 63.89 kB / 0.5513 GB, free: 23.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.009225, allocations: 3.359 kB / 0.5513 GB, free: 23.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.009306, allocations: 8 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.009318, allocations: 12 kB / 0.5514 GB, free: 23.12 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.0001345/0.009452, allocations: 166.5 kB / 0.5515 GB, free: 22.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.009476, allocations: 19.98 kB / 0.5515 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.009508, allocations: 28.98 kB / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.009511, allocations: 4 kB / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.009515, allocations: 0 / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.00952, allocations: 0 / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.009812, allocations: 356.8 kB / 0.5519 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.009815, allocations: 0 / 0.5519 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.009961, allocations: 43.91 kB / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.00998, allocations: 15.91 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.009984, allocations: 0 / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.009998, allocations: 4 kB / 0.552 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01, allocations: 4 kB / 0.552 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01, allocations: 3.938 kB / 0.552 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.01021, allocations: 344.4 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01023, allocations: 8 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.0103, allocations: 15.98 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.01035, allocations: 11.97 kB / 0.5523 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.01036, allocations: 8 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.01039, allocations: 32.83 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01039, allocations: 0 / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.01056, allocations: 48 kB / 0.5524 GB, free: 21.95 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 0.0001011/0.01066, allocations: 88.34 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.01084, allocations: 296.4 kB / 0.5528 GB, free: 21.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.01085, allocations: 0 / 0.5528 GB, free: 21.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.01091, allocations: 142.2 kB / 0.5529 GB, free: 21.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.01112, allocations: 71 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.01486, allocations: 478.4 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.339e-05/0.01489, allocations: 75.98 kB / 0.5535 GB, free: 20.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.3e-05/0.01496, allocations: 17.48 kB / 0.5535 GB, free: 20.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.01506, allocations: 99.33 kB / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01506, allocations: 4 kB / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01294/0.028, allocations: 2.711 MB / 0.5563 GB, free: 17.97 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.110383594408631]