Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine.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.0007692/0.0007692, allocations: 76.17 kB / 9.925 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009415/0.001711, allocations: 451.9 kB / 10.37 MB, free: 328 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.0007411/0.0007411, allocations: 157.2 kB / 11.25 MB, free: 2.918 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008924/0.001633, allocations: 471.7 kB / 11.71 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.037/1.037, allocations: 177.1 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.139, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7719/0.7719, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02929/0.8011, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=122400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=122400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.148e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine): time 0.003338/0.003359, allocations: 3.304 MB / 0.5478 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005312/0.008672, allocations: 6.805 MB / 0.5544 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.008855, allocations: 4 kB / 0.5544 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.008962, allocations: 35.58 kB / 0.5544 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.009167, allocations: 135 kB / 0.5546 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.009352, allocations: 87.77 kB / 0.5547 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.009658, allocations: 441.8 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.009794, allocations: 63.38 kB / 0.5551 GB, free: 19.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.01003, allocations: 270.5 kB / 0.5554 GB, free: 19.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.01022, allocations: 131.6 kB / 0.5555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.01025, allocations: 32 kB / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.371e-05/0.01028, allocations: 32 kB / 0.5556 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.01032, allocations: 47.81 kB / 0.5556 GB, free: 18.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.288e-05/0.0104, allocations: 103.8 kB / 0.5557 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.01062, allocations: 235.2 kB / 0.556 GB, free: 18.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.01063, allocations: 0 / 0.556 GB, free: 18.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01063, allocations: 0 / 0.556 GB, free: 18.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.01065, allocations: 0 / 0.556 GB, free: 18.65 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.0007399/0.01139, allocations: 0.6395 MB / 0.5566 GB, free: 17.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.01143, allocations: 11.89 kB / 0.5566 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.01151, allocations: 44.91 kB / 0.5566 GB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.01172, allocations: 193.5 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.01174, allocations: 16.88 kB / 0.5568 GB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.01178, allocations: 28.31 kB / 0.5569 GB, free: 17.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.012, allocations: 238.2 kB / 0.5571 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.01201, allocations: 7.969 kB / 0.5571 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.01203, allocations: 15.94 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.01203, allocations: 4 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.01215, allocations: 138.6 kB / 0.5572 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.01266, allocations: 480.5 kB / 0.5577 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.01287, allocations: 172.8 kB / 0.5579 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.01292, allocations: 104.5 kB / 0.558 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.01294, allocations: 11.88 kB / 0.558 GB, free: 16.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.01311, allocations: 319.3 kB / 0.5583 GB, free: 16.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.01311, allocations: 4 kB / 0.5583 GB, free: 16.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007382/0.01385, allocations: 0.8346 MB / 0.5591 GB, free: 15.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2872/0.3011, allocations: 272.1 kB / 0.5594 GB, free: 78.5 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3013, allocations: 230.7 kB / 0.5596 GB, free: 78.39 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.3014, allocations: 37.91 kB / 0.5596 GB, free: 78.36 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.3014, allocations: 133.3 kB / 0.5597 GB, free: 78.28 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.3015, allocations: 131.8 kB / 0.5599 GB, free: 78.24 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.3016, allocations: 74.69 kB / 0.5599 GB, free: 78.23 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.3017, allocations: 342.6 kB / 0.5603 GB, free: 77.91 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3018, allocations: 152.5 kB / 0.5604 GB, free: 77.81 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3019, allocations: 243.1 kB / 0.5606 GB, free: 77.59 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.3022, allocations: 340.6 kB / 0.561 GB, free: 77.33 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3022, allocations: 3.469 kB / 0.561 GB, free: 77.33 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003911/0.3026, allocations: 390.3 kB / 0.5613 GB, free: 77.11 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.3027, allocations: 91.92 kB / 0.5614 GB, free: 77.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3027, allocations: 3.938 kB / 0.5614 GB, free: 77.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3027, allocations: 5.156 kB / 0.5614 GB, free: 77.02 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.3031, allocations: 112.8 kB / 0.5616 GB, free: 77.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3031, allocations: 8.766 kB / 0.5616 GB, free: 77.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3032, allocations: 20.67 kB / 0.5616 GB, free: 77.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.3033, allocations: 16.86 kB / 0.5616 GB, free: 77.02 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.0002115/0.3035, allocations: 210.1 kB / 0.5618 GB, free: 76.84 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.3035, allocations: 43.2 kB / 0.5618 GB, free: 76.84 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.3036, allocations: 31.55 kB / 0.5619 GB, free: 76.83 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3036, allocations: 2.594 kB / 0.5619 GB, free: 76.83 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3036, allocations: 3.812 kB / 0.5619 GB, free: 76.83 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.269e-05/0.3037, allocations: 35.47 kB / 0.5619 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.3037, allocations: 10.88 kB / 0.5619 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.3037, allocations: 15.58 kB / 0.5619 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.3038, allocations: 15.7 kB / 0.5619 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.3039, allocations: 28.86 kB / 0.562 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004065/0.3043, allocations: 394.9 kB / 0.5624 GB, free: 76.58 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004458/0.3047, allocations: 0.6061 MB / 0.5629 GB, free: 76.18 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001288/0.3049, allocations: 149.5 kB / 0.5631 GB, free: 76.11 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.3049, allocations: 83.94 kB / 0.5632 GB, free: 76.1 MB / 410.8 MB Notification: Performance of Backend: time 5.11e-07/0.305, allocations: 0 / 0.5632 GB, free: 76.1 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.3055, allocations: 481.5 kB / 0.5636 GB, free: 75.76 MB / 410.8 MB Notification: Performance of SimCode: time 0.008048/0.3135, allocations: 1.373 MB / 0.565 GB, free: 74.8 MB / 410.8 MB Notification: Performance of Templates: time 0.00848/0.322, allocations: 5.56 MB / 0.5704 GB, free: 73.65 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA02_Ranitidine.Ranitidine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7607815889641643]