Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference.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.0006942/0.0006942, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008711/0.001565, 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.0006857/0.0006857, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.001922, 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.043/1.043, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08693/1.13, allocations: 53.66 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.7855/0.7855, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03713/0.8226, allocations: 21.05 MB / 0.5432 GB, free: 31.94 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.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=122400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=122400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.692e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference): time 0.002672/0.002689, allocations: 3.302 MB / 0.5478 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.007421, allocations: 6.793 MB / 0.5544 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.007604, allocations: 3.938 kB / 0.5544 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.237e-05/0.007687, allocations: 39.58 kB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.007879, allocations: 134.9 kB / 0.5546 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.008051, allocations: 83.83 kB / 0.5547 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.008354, allocations: 441.8 kB / 0.5551 GB, free: 19.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.0085, allocations: 71.36 kB / 0.5552 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.00874, allocations: 266.6 kB / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.00892, allocations: 123.6 kB / 0.5555 GB, free: 19.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.008956, allocations: 32 kB / 0.5556 GB, free: 19.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.061e-05/0.008986, allocations: 36 kB / 0.5556 GB, free: 19.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.009021, allocations: 51.8 kB / 0.5556 GB, free: 19.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.009102, allocations: 103.8 kB / 0.5557 GB, free: 19.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.009324, allocations: 227.2 kB / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.009337, allocations: 0 / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.009339, allocations: 0 / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.009352, allocations: 0 / 0.556 GB, free: 18.84 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.0006753/0.01003, allocations: 0.6473 MB / 0.5566 GB, free: 18.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.01007, allocations: 11.89 kB / 0.5566 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.01012, allocations: 36.91 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.0103, allocations: 197.5 kB / 0.5568 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.01032, allocations: 12.88 kB / 0.5568 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.01036, allocations: 28.33 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.01059, allocations: 250.1 kB / 0.5571 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.0106, allocations: 0 / 0.5571 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.01062, allocations: 11.98 kB / 0.5571 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01062, allocations: 4 kB / 0.5571 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.01074, allocations: 138.6 kB / 0.5573 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.01127, allocations: 484.5 kB / 0.5577 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.01148, allocations: 174.1 kB / 0.5579 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.01154, allocations: 102.3 kB / 0.558 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.01155, allocations: 11.94 kB / 0.558 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.01174, allocations: 327.4 kB / 0.5583 GB, free: 16.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.01174, allocations: 3.938 kB / 0.5583 GB, free: 16.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008659/0.01261, allocations: 0.8288 MB / 0.5591 GB, free: 15.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.01266, allocations: 277 kB / 0.5594 GB, free: 14.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2693/0.2819, allocations: 227.4 kB / 0.5596 GB, free: 79.98 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.282, allocations: 39.39 kB / 0.5596 GB, free: 79.95 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.2821, allocations: 142 kB / 0.5598 GB, free: 79.86 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.2821, allocations: 120.8 kB / 0.5599 GB, free: 79.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.2822, allocations: 72.58 kB / 0.56 GB, free: 79.81 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.605e-05/0.2822, allocations: 346.3 kB / 0.5603 GB, free: 79.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.2823, allocations: 148 kB / 0.5604 GB, free: 79.39 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2824, allocations: 247.5 kB / 0.5607 GB, free: 79.17 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.2826, allocations: 344 kB / 0.561 GB, free: 78.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2826, allocations: 0 / 0.561 GB, free: 78.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002857/0.2829, allocations: 390.4 kB / 0.5614 GB, free: 78.69 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.283, allocations: 93.61 kB / 0.5615 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.283, allocations: 5.891 kB / 0.5615 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.283, allocations: 5.375 kB / 0.5615 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.2833, allocations: 113 kB / 0.5616 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2833, allocations: 5.844 kB / 0.5616 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.2834, allocations: 20.97 kB / 0.5616 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.2834, allocations: 11.11 kB / 0.5616 GB, free: 78.6 MB / 410.8 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.0001494/0.2836, allocations: 216.4 kB / 0.5618 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.2836, allocations: 38.53 kB / 0.5618 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.2837, allocations: 32.44 kB / 0.5619 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2837, allocations: 2.547 kB / 0.5619 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2837, allocations: 2.766 kB / 0.5619 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.2837, allocations: 35.33 kB / 0.5619 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.2838, allocations: 10.11 kB / 0.5619 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.2838, allocations: 14.75 kB / 0.5619 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.2839, allocations: 11.36 kB / 0.562 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.2839, allocations: 36.11 kB / 0.562 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003368/0.2843, allocations: 398.8 kB / 0.5624 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003558/0.2846, allocations: 0.5995 MB / 0.563 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001087/0.2847, allocations: 150 kB / 0.5631 GB, free: 77.69 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.2848, allocations: 83.53 kB / 0.5632 GB, free: 77.68 MB / 410.8 MB Notification: Performance of Backend: time 2.2e-07/0.2848, allocations: 0 / 0.5632 GB, free: 77.68 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.2852, allocations: 498.1 kB / 0.5637 GB, free: 77.34 MB / 410.8 MB Notification: Performance of SimCode: time 0.00777/0.293, allocations: 1.36 MB / 0.565 GB, free: 76.39 MB / 410.8 MB Notification: Performance of Templates: time 0.00753/0.3005, allocations: 5.568 MB / 0.5704 GB, free: 75.2 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine_Hawwa2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7158910604193807]