Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment.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.001085/0.001085, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/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.00114/0.00114, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.00257, 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09234/1.104, allocations: 53.67 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 0.7385/0.7385, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03047/0.769, allocations: 21.05 MB / 0.5432 GB, free: 31.93 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.Pharmacogenomics.PKPG_Metoprolol_Experiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12048,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment") translateModel(Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12048,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5445 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.698e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment): time 0.008033/0.00806, allocations: 8.07 MB / 0.5524 GB, free: 22.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.01332, allocations: 2.82 MB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.01468, allocations: 23.94 kB / 0.5551 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.01572, allocations: 447 kB / 0.5556 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.01744, allocations: 0.7611 MB / 0.5563 GB, free: 18.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.01892, allocations: 0.6626 MB / 0.557 GB, free: 17.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.02107, allocations: 2.21 MB / 0.5591 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005229/0.02159, allocations: 336.9 kB / 0.5594 GB, free: 15.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2508/0.2723, allocations: 1.475 MB / 0.5609 GB, free: 76.24 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.2729, allocations: 0.5594 MB / 0.5614 GB, free: 76.24 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.2732, allocations: 211.8 kB / 0.5616 GB, free: 76.24 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008185/0.274, allocations: 0.5439 MB / 0.5621 GB, free: 76.24 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007856/0.2748, allocations: 1.333 MB / 0.5635 GB, free: 76.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007065/0.2755, allocations: 0.8258 MB / 0.5643 GB, free: 76 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003116/0.2786, allocations: 3.475 MB / 0.5677 GB, free: 75.35 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.2786, allocations: 1.375 kB / 0.5677 GB, free: 75.35 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2786, allocations: 0 / 0.5677 GB, free: 75.35 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.91e-05/0.2787, allocations: 3.375 kB / 0.5677 GB, free: 75.35 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005111/0.2838, allocations: 6.547 MB / 0.5741 GB, free: 71.87 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2839, allocations: 12.95 kB / 0.5741 GB, free: 71.86 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.2864, allocations: 2.732 MB / 0.5767 GB, free: 71.4 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.2879, allocations: 2.047 MB / 0.5787 GB, free: 70.17 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.288, allocations: 78.05 kB / 0.5788 GB, free: 70.14 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.2881, allocations: 125.1 kB / 0.5789 GB, free: 70.1 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/0.2891, allocations: 1.014 MB / 0.5799 GB, free: 69.48 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.2891, allocations: 12.11 kB / 0.5799 GB, free: 69.47 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.2892, allocations: 38.91 kB / 0.58 GB, free: 69.45 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.2892, allocations: 25.12 kB / 0.58 GB, free: 69.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.2897, allocations: 0.6695 MB / 0.5806 GB, free: 68.99 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004163/0.2939, allocations: 3.501 MB / 0.5841 GB, free: 66.68 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.2946, allocations: 0.944 MB / 0.585 GB, free: 66.04 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.2949, allocations: 469.5 kB / 0.5854 GB, free: 65.69 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.2949, allocations: 23.31 kB / 0.5855 GB, free: 65.68 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.2955, allocations: 1.338 MB / 0.5868 GB, free: 64.55 MB / 410.8 MB Notification: Performance of pre-optimization done (n=144): time 3.607e-06/0.2955, allocations: 1.344 kB / 0.5868 GB, free: 64.55 MB / 410.8 MB Notification: Performance of matching and sorting (n=152): time 0.003608/0.2992, allocations: 4.487 MB / 0.5911 GB, free: 61.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.2993, allocations: 1.012 MB / 0.5921 GB, free: 60.46 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004696/0.304, allocations: 6.276 MB / 0.5983 GB, free: 55.55 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.3042, allocations: 78.55 kB / 0.5983 GB, free: 55.47 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/0.3048, allocations: 1.039 MB / 0.5993 GB, free: 54.71 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.305, allocations: 0.5046 MB / 0.5998 GB, free: 54.25 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.3053, allocations: 312.2 kB / 0.6001 GB, free: 53.98 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.521e-05/0.3053, allocations: 306 kB / 0.6004 GB, free: 53.68 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.3056, allocations: 0.6139 MB / 0.601 GB, free: 53.02 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.3062, allocations: 1.797 MB / 0.6028 GB, free: 50.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.3069, allocations: 1.484 MB / 0.6042 GB, free: 49.12 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.3069, allocations: 5.031 kB / 0.6042 GB, free: 49.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.00188/0.3087, allocations: 3.097 MB / 0.6073 GB, free: 45.9 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.103e-05/0.3088, allocations: 353.3 kB / 0.6076 GB, free: 45.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3088, allocations: 12 kB / 0.6076 GB, free: 45.47 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3089, allocations: 16.75 kB / 0.6076 GB, free: 45.46 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008319/0.3097, allocations: 466.2 kB / 0.6081 GB, free: 45.03 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.3097, allocations: 27.89 kB / 0.6081 GB, free: 45.01 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008045/0.3105, allocations: 86.05 kB / 0.6082 GB, free: 44.93 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.3107, allocations: 227.7 kB / 0.6084 GB, free: 44.71 MB / 410.8 MB Warning: Assuming fixed start value for the following 8 variables: patient4.dose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real patient4.dose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real patient3.dose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real patient3.dose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real patient2.dose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real patient2.dose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real patient1.dose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real patient1.dose.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: 48 * Number of states: 0 () * Number of discrete variables: 92 (patient1.dose.route.absorptionLumen.Cmin,$PRE.patient1.dose.route.absorptionLumen.Cmin,patient1.dose.route.absorptionLumen.Cmax,$PRE.patient1.dose.route.absorptionLumen.Cmax,patient1.central.Cmin,$PRE.patient1.central.Cmin,patient1.central.Cmax,$PRE.patient1.central.Cmax,patient2.dose.route.absorptionLumen.Cmin,$PRE.patient2.dose.route.absorptionLumen.Cmin,patient2.dose.route.absorptionLumen.Cmax,$PRE.patient2.dose.route.absorptionLumen.Cmax,patient2.central.Cmin,$PRE.patient2.central.Cmin,patient2.central.Cmax,$PRE.patient2.central.Cmax,patient3.dose.route.absorptionLumen.Cmin,$PRE.patient3.dose.route.absorptionLumen.Cmin,patient3.dose.route.absorptionLumen.Cmax,$PRE.patient3.dose.route.absorptionLumen.Cmax,patient3.central.Cmin,$PRE.patient3.central.Cmin,patient3.central.Cmax,$PRE.patient3.central.Cmax,patient4.dose.route.absorptionLumen.Cmin,$PRE.patient4.dose.route.absorptionLumen.Cmin,patient4.dose.route.absorptionLumen.Cmax,$PRE.patient4.dose.route.absorptionLumen.Cmax,patient4.central.Cmin,$PRE.patient4.central.Cmin,patient4.central.Cmax,$PRE.patient4.central.Cmax,patient1.CYP2D6.status,patient1.CYP3A4.status,patient2.CYP2D6.status,patient2.CYP3A4.status,patient3.CYP2D6.status,patient3.CYP3A4.status,patient4.CYP2D6.status,patient4.CYP3A4.status,patient4.central.rising,$PRE.patient4.central.rising,patient4.dose.pulse.count,$PRE.patient4.dose.pulse.count,patient4.dose.pulse.T_start,$PRE.patient4.dose.pulse.T_start,patient4.dose.route.absorptionLumen.rising,$PRE.patient4.dose.route.absorptionLumen.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,patient3.central.rising,$PRE.patient3.central.rising,patient3.dose.pulse.count,$PRE.patient3.dose.pulse.count,patient3.dose.pulse.T_start,$PRE.patient3.dose.pulse.T_start,patient3.dose.route.absorptionLumen.rising,$PRE.patient3.dose.route.absorptionLumen.rising,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,patient2.central.rising,$PRE.patient2.central.rising,patient2.dose.pulse.count,$PRE.patient2.dose.pulse.count,patient2.dose.pulse.T_start,$PRE.patient2.dose.pulse.T_start,patient2.dose.route.absorptionLumen.rising,$PRE.patient2.dose.route.absorptionLumen.rising,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,patient1.central.rising,$PRE.patient1.central.rising,patient1.dose.pulse.count,$PRE.patient1.dose.pulse.count,patient1.dose.pulse.T_start,$PRE.patient1.dose.pulse.T_start,patient1.dose.route.absorptionLumen.rising,$PRE.patient1.dose.route.absorptionLumen.rising,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 12 * 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.001656/0.3123, allocations: 0.57 MB / 0.609 GB, free: 44.14 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000676/0.313, allocations: 1.002 MB / 0.6099 GB, free: 43.12 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007084/0.3137, allocations: 0.5109 MB / 0.6104 GB, free: 42.61 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3137, allocations: 9.703 kB / 0.6104 GB, free: 42.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3137, allocations: 0.8438 kB / 0.6104 GB, free: 42.6 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.3142, allocations: 0.5271 MB / 0.611 GB, free: 42.07 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.3142, allocations: 55.95 kB / 0.611 GB, free: 42.01 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.3145, allocations: 68.69 kB / 0.6111 GB, free: 41.95 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.3149, allocations: 56.95 kB / 0.6111 GB, free: 41.89 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.3151, allocations: 128.6 kB / 0.6113 GB, free: 41.77 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001125/0.3162, allocations: 1.825 MB / 0.613 GB, free: 39.9 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001666/0.3179, allocations: 3.376 MB / 0.6163 GB, free: 36.38 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003336/0.3182, allocations: 0.6277 MB / 0.6169 GB, free: 35.72 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002578/0.3208, allocations: 2.845 MB / 0.6197 GB, free: 33.16 MB / 410.8 MB Notification: Performance of Backend: time 3.51e-07/0.3208, allocations: 1.031 kB / 0.6197 GB, free: 33.16 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.3228, allocations: 2.049 MB / 0.6217 GB, free: 30.96 MB / 410.8 MB Notification: Performance of SimCode: time 0.02788/0.3507, allocations: 8.931 MB / 0.6304 GB, free: 21.91 MB / 410.8 MB Notification: Performance of Templates: time 0.045/0.3957, allocations: 38.15 MB / 0.6677 GB, free: 0.9375 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PKPG_Metoprolol_Experiment.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.198500294238329]