Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_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.0006912/0.0006912, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008715/0.001563, 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.0006868/0.0006868, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008728/0.00156, 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.093/1.097, allocations: 53.66 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.7296/0.7296, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03135/0.761, 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.A02BA03_Famotidine.Famotidine_Maish1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.063e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference): time 0.003917/0.003938, allocations: 3.293 MB / 0.5477 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006359/0.0103, allocations: 6.801 MB / 0.5544 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.01057, allocations: 4 kB / 0.5544 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.01068, allocations: 39.52 kB / 0.5544 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.0109, allocations: 130.9 kB / 0.5546 GB, free: 20.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.01109, allocations: 83.84 kB / 0.5546 GB, free: 20.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.01134, allocations: 437.8 kB / 0.555 GB, free: 19.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.01147, allocations: 71.36 kB / 0.5551 GB, free: 19.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.0117, allocations: 270.5 kB / 0.5554 GB, free: 19.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.01189, allocations: 131.6 kB / 0.5555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.01193, allocations: 32 kB / 0.5555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.191e-05/0.01196, allocations: 32 kB / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.01199, allocations: 43.81 kB / 0.5556 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.01208, allocations: 103.8 kB / 0.5557 GB, free: 18.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.01229, allocations: 231.2 kB / 0.5559 GB, free: 18.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.0123, allocations: 0 / 0.5559 GB, free: 18.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.0123, allocations: 0 / 0.5559 GB, free: 18.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.01231, allocations: 0 / 0.5559 GB, free: 18.69 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.0006626/0.01298, allocations: 0.6473 MB / 0.5566 GB, free: 18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.01301, allocations: 11.89 kB / 0.5566 GB, free: 17.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.01307, allocations: 36.91 kB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.01326, allocations: 193.5 kB / 0.5568 GB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.01328, allocations: 16.88 kB / 0.5568 GB, free: 17.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.01331, allocations: 28.33 kB / 0.5568 GB, free: 17.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.01352, allocations: 254.1 kB / 0.5571 GB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01353, allocations: 0 / 0.5571 GB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.01354, allocations: 8 kB / 0.5571 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.01355, allocations: 7.984 kB / 0.5571 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.01366, allocations: 142.6 kB / 0.5572 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.01416, allocations: 473.9 kB / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.01436, allocations: 174.1 kB / 0.5578 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.01442, allocations: 102.4 kB / 0.5579 GB, free: 16.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.01443, allocations: 11.88 kB / 0.5579 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.01461, allocations: 327.3 kB / 0.5583 GB, free: 16.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.01461, allocations: 0 / 0.5583 GB, free: 16.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007099/0.01532, allocations: 0.8327 MB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2611/0.2764, allocations: 277.2 kB / 0.5593 GB, free: 79.47 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.2766, allocations: 233 kB / 0.5596 GB, free: 79.36 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.2767, allocations: 37.06 kB / 0.5596 GB, free: 79.33 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.2767, allocations: 136.8 kB / 0.5597 GB, free: 79.25 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.2768, allocations: 121.6 kB / 0.5598 GB, free: 79.21 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.2769, allocations: 75.36 kB / 0.5599 GB, free: 79.19 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.117e-05/0.2769, allocations: 346.7 kB / 0.5602 GB, free: 78.88 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.277, allocations: 146.9 kB / 0.5604 GB, free: 78.78 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.2771, allocations: 248.1 kB / 0.5606 GB, free: 78.55 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.2773, allocations: 339.1 kB / 0.5609 GB, free: 78.3 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2773, allocations: 2.5 kB / 0.5609 GB, free: 78.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003139/0.2776, allocations: 390.1 kB / 0.5613 GB, free: 78.07 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.2777, allocations: 93.06 kB / 0.5614 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2777, allocations: 4.406 kB / 0.5614 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.2777, allocations: 5.281 kB / 0.5614 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.2781, allocations: 113.5 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2781, allocations: 5.734 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2782, allocations: 19.5 kB / 0.5616 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2782, allocations: 15.56 kB / 0.5616 GB, free: 77.98 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.0001679/0.2784, allocations: 216.6 kB / 0.5618 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.2784, allocations: 39.05 kB / 0.5618 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.2785, allocations: 31.44 kB / 0.5618 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2785, allocations: 2.5 kB / 0.5618 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2785, allocations: 1.062 kB / 0.5618 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.2786, allocations: 33.72 kB / 0.5619 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.2786, allocations: 9.938 kB / 0.5619 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.2786, allocations: 14.95 kB / 0.5619 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.134e-05/0.2787, allocations: 16.94 kB / 0.5619 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.2788, allocations: 26.64 kB / 0.5619 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004215/0.2792, allocations: 401.3 kB / 0.5623 GB, free: 77.55 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004592/0.2797, allocations: 0.6006 MB / 0.5629 GB, free: 77.15 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001526/0.2798, allocations: 152.2 kB / 0.5631 GB, free: 77.07 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001104/0.28, allocations: 80.03 kB / 0.5631 GB, free: 77.06 MB / 410.8 MB Notification: Performance of Backend: time 5.61e-07/0.28, allocations: 6.125 kB / 0.5631 GB, free: 77.06 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005503/0.2805, allocations: 490.3 kB / 0.5636 GB, free: 76.72 MB / 410.8 MB Notification: Performance of SimCode: time 0.008064/0.2886, allocations: 1.362 MB / 0.5649 GB, free: 75.77 MB / 410.8 MB Notification: Performance of Templates: time 0.008116/0.2967, allocations: 5.576 MB / 0.5704 GB, free: 74.56 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BA03_Famotidine.Famotidine_Maish1998_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6716818269342184]