Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.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.001036/0.001036, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002557, allocations: 443.9 kB / 10.36 MB, free: 332 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.001019/0.001019, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004877/0.005896, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.011/1.011, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08522/1.096, allocations: 53.67 MB / 243.3 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.7885/0.7885, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03052/0.819, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.Digoxin.Digoxin_Hornestam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam") translateModel(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.688e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.003993/0.00402, allocations: 2.94 MB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.005389, allocations: 0.7071 MB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.005543, allocations: 8 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.005648, allocations: 39.58 kB / 0.5482 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.00593, allocations: 123 kB / 0.5483 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.006152, allocations: 67.89 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.006517, allocations: 389.9 kB / 0.5487 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.006676, allocations: 66.78 kB / 0.5488 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.007017, allocations: 241.6 kB / 0.549 GB, free: 25.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.007249, allocations: 123.6 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.007295, allocations: 24 kB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.472e-05/0.00734, allocations: 24 kB / 0.5492 GB, free: 25.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.007381, allocations: 39.81 kB / 0.5492 GB, free: 25.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.00749, allocations: 95.81 kB / 0.5493 GB, free: 25.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.007761, allocations: 195.3 kB / 0.5495 GB, free: 25.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.007774, allocations: 4 kB / 0.5495 GB, free: 25.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007775, allocations: 3.938 kB / 0.5495 GB, free: 25.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.007792, allocations: 0 / 0.5495 GB, free: 25.48 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008266/0.008619, allocations: 0.6244 MB / 0.5501 GB, free: 24.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.008659, allocations: 11.89 kB / 0.5501 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.008741, allocations: 36.91 kB / 0.5501 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.008995, allocations: 189.5 kB / 0.5503 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.009025, allocations: 16.75 kB / 0.5503 GB, free: 24.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.009068, allocations: 24.36 kB / 0.5504 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.009363, allocations: 247.6 kB / 0.5506 GB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.00938, allocations: 0 / 0.5506 GB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.009399, allocations: 12 kB / 0.5506 GB, free: 24.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.009408, allocations: 4 kB / 0.5506 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.009583, allocations: 141.8 kB / 0.5508 GB, free: 24.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009103/0.01049, allocations: 0.5155 MB / 0.5513 GB, free: 23.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.01069, allocations: 158.1 kB / 0.5514 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.01074, allocations: 103.1 kB / 0.5515 GB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.01076, allocations: 7.938 kB / 0.5515 GB, free: 23.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.01093, allocations: 318.7 kB / 0.5518 GB, free: 22.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.365e-06/0.01093, allocations: 4 kB / 0.5518 GB, free: 22.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.000733/0.01166, allocations: 0.8093 MB / 0.5526 GB, free: 21.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.01171, allocations: 277 kB / 0.5529 GB, free: 21.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.01182, allocations: 225 kB / 0.5531 GB, free: 21.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.01183, allocations: 33.7 kB / 0.5531 GB, free: 21.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.01187, allocations: 137.3 kB / 0.5533 GB, free: 21.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.01192, allocations: 115.1 kB / 0.5534 GB, free: 21.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.01198, allocations: 70.16 kB / 0.5534 GB, free: 21.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.01202, allocations: 342.8 kB / 0.5538 GB, free: 20.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.01209, allocations: 155.8 kB / 0.5539 GB, free: 20.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.01217, allocations: 243.2 kB / 0.5541 GB, free: 20.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.01232, allocations: 352.1 kB / 0.5545 GB, free: 19.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01233, allocations: 4 kB / 0.5545 GB, free: 19.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002151/0.01254, allocations: 387.2 kB / 0.5548 GB, free: 19.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.01258, allocations: 85.11 kB / 0.5549 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01259, allocations: 8.281 kB / 0.5549 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.0126, allocations: 8 kB / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.01283, allocations: 111.8 kB / 0.5551 GB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.01284, allocations: 4 kB / 0.5551 GB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.01295, allocations: 15.98 kB / 0.5551 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.01296, allocations: 16 kB / 0.5551 GB, free: 19.14 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0001366/0.0131, allocations: 218 kB / 0.5553 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.01313, allocations: 35.97 kB / 0.5553 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.01316, allocations: 30.95 kB / 0.5554 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01317, allocations: 4 kB / 0.5554 GB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01317, allocations: 0 / 0.5554 GB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.0132, allocations: 15.86 kB / 0.5554 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01321, allocations: 11.98 kB / 0.5554 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.01324, allocations: 15.94 kB / 0.5554 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.0133, allocations: 19.36 kB / 0.5554 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.01335, allocations: 24.19 kB / 0.5554 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002555/0.01361, allocations: 392.2 kB / 0.5558 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002579/0.01387, allocations: 0.5827 MB / 0.5564 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.01e-05/0.01395, allocations: 136.5 kB / 0.5565 GB, free: 17.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.014, allocations: 82.7 kB / 0.5566 GB, free: 17.46 MB / 410.7 MB Notification: Performance of Backend: time 2.4e-07/0.014, allocations: 0 / 0.5566 GB, free: 17.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.01434, allocations: 484.3 kB / 0.5571 GB, free: 16.93 MB / 410.7 MB Notification: Performance of SimCode: time 0.007466/0.0218, allocations: 1.326 MB / 0.5584 GB, free: 15.53 MB / 410.7 MB Notification: Performance of Templates: time 0.2291/0.2509, allocations: 5.185 MB / 0.5634 GB, free: 84.31 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.678455042652786]