Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.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.0008614/0.0008614, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.001988, 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.000733/0.000733, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009591/0.001692, 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 0.9432/0.9432, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07839/1.022, allocations: 53.66 MB / 243.3 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 1.79/1.79, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03748/1.827, allocations: 21.04 MB / 0.5432 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 178] 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.Allopurinol.Allopurinol_oxopurinol_direct_depot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot") translateModel(Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.22e-07/8.22e-07, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.015e-06/8.837e-06, allocations: 6.25 kB / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot): time 0.00292/0.002929, allocations: 3.273 MB / 0.5478 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007116/0.003641, allocations: 0.7322 MB / 0.5485 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.003717, allocations: 4 kB / 0.5485 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.757e-05/0.003785, allocations: 35.58 kB / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.003923, allocations: 134.9 kB / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.004054, allocations: 83.84 kB / 0.5487 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.004272, allocations: 437.8 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.004385, allocations: 67.58 kB / 0.5492 GB, free: 25.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.004568, allocations: 261.5 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.004734, allocations: 127.7 kB / 0.5496 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.004765, allocations: 32 kB / 0.5496 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.963e-05/0.004795, allocations: 36 kB / 0.5496 GB, free: 25.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.004825, allocations: 43.81 kB / 0.5497 GB, free: 25.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.004926, allocations: 103.8 kB / 0.5498 GB, free: 25.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.00518, allocations: 219.2 kB / 0.55 GB, free: 24.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.005192, allocations: 0 / 0.55 GB, free: 24.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.005193, allocations: 0 / 0.55 GB, free: 24.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.005206, allocations: 4 kB / 0.55 GB, free: 24.98 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006949/0.005901, allocations: 0.6396 MB / 0.5506 GB, free: 24.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.005936, allocations: 11.89 kB / 0.5506 GB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.005993, allocations: 40.89 kB / 0.5507 GB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.00616, allocations: 205.4 kB / 0.5509 GB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.006177, allocations: 12.88 kB / 0.5509 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.006204, allocations: 24.38 kB / 0.5509 GB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.006395, allocations: 242.2 kB / 0.5511 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.006406, allocations: 3.984 kB / 0.5511 GB, free: 23.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.006418, allocations: 8 kB / 0.5511 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.006423, allocations: 4 kB / 0.5511 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.006525, allocations: 150.5 kB / 0.5513 GB, free: 23.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.006969, allocations: 469.9 kB / 0.5517 GB, free: 23.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.00715, allocations: 188 kB / 0.5519 GB, free: 22.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.007203, allocations: 103.2 kB / 0.552 GB, free: 22.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.007212, allocations: 7.938 kB / 0.552 GB, free: 22.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.00737, allocations: 331.4 kB / 0.5523 GB, free: 22.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.007372, allocations: 0 / 0.5523 GB, free: 22.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006601/0.008032, allocations: 0.8305 MB / 0.5531 GB, free: 21.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.00807, allocations: 277 kB / 0.5534 GB, free: 21.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.008164, allocations: 225 kB / 0.5536 GB, free: 20.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.008179, allocations: 45.7 kB / 0.5537 GB, free: 20.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.008212, allocations: 133.3 kB / 0.5538 GB, free: 20.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.008256, allocations: 123 kB / 0.5539 GB, free: 20.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.008314, allocations: 70.16 kB / 0.554 GB, free: 20.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.449e-05/0.008348, allocations: 342.8 kB / 0.5543 GB, free: 20.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.008414, allocations: 151.9 kB / 0.5544 GB, free: 20 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.364e-05/0.008498, allocations: 250.8 kB / 0.5547 GB, free: 19.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.008644, allocations: 342.3 kB / 0.555 GB, free: 19.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008646, allocations: 0 / 0.555 GB, free: 19.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002082/0.008854, allocations: 399.2 kB / 0.5554 GB, free: 18.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.008885, allocations: 89.09 kB / 0.5555 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-06/0.008891, allocations: 4 kB / 0.5555 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.008901, allocations: 4 kB / 0.5555 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.009106, allocations: 107.8 kB / 0.5556 GB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.00911, allocations: 8.312 kB / 0.5556 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/0.009202, allocations: 23.98 kB / 0.5556 GB, free: 18.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.009218, allocations: 12 kB / 0.5556 GB, free: 18.59 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0001094/0.009327, allocations: 219.6 kB / 0.5558 GB, free: 18.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.009355, allocations: 35.97 kB / 0.5559 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.009386, allocations: 30.95 kB / 0.5559 GB, free: 18.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.00939, allocations: 0 / 0.5559 GB, free: 18.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.009392, allocations: 4 kB / 0.5559 GB, free: 18.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.009449, allocations: 35.8 kB / 0.5559 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.009462, allocations: 15.62 kB / 0.556 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.009491, allocations: 8 kB / 0.556 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.009558, allocations: 19.92 kB / 0.556 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.009603, allocations: 27.94 kB / 0.556 GB, free: 18.18 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002692/0.009873, allocations: 405.1 kB / 0.5564 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002619/0.01013, allocations: 0.5985 MB / 0.557 GB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.79e-05/0.01021, allocations: 144 kB / 0.5571 GB, free: 16.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.01026, allocations: 74.78 kB / 0.5572 GB, free: 16.87 MB / 410.7 MB Notification: Performance of Backend: time 2.21e-07/0.01026, allocations: 0 / 0.5572 GB, free: 16.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.01055, allocations: 488.4 kB / 0.5577 GB, free: 16.33 MB / 410.7 MB Notification: Performance of SimCode: time 0.007346/0.0179, allocations: 1.358 MB / 0.559 GB, free: 14.9 MB / 410.7 MB Notification: Performance of Templates: time 0.2592/0.2771, allocations: 5.501 MB / 0.5644 GB, free: 84.05 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.532357015646994]